BotNetwork

sendChatAction typing indicators

chat actions expire within seconds; refresh during long work then stop.

Guide1 min readUpdated

Why it matters

Chat actions expire within seconds; refresh during long work then stop.

Practical steps

  1. Send typing before slow LLM or HTTP work
  2. Refresh roughly every four seconds while working
  3. Stop when the final reply is sent
  4. Do not block webhook ACK on chat actions
  5. 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.

Related comparisons and tools