Why it matters
Chat actions expire within seconds; refresh during long work then stop.
Practical steps
- Send typing before slow LLM or HTTP work
- Refresh roughly every four seconds while working
- Stop when the final reply is sent
- Do not block webhook ACK on chat actions
- Ignore errors from chats where the bot is restricted
Watch out for
- Copy-pasting outdated snippets for telegram sendchataction without re-reading current official docs.
- Shipping telegram sendchataction to production without a staging rehearsal and a documented rollback.