Actions41
- Chat Actions
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Chat → Send Chat Action
AI-generatedSummary
Sends a chat action (e.g., typing, recording voice note) to a Telegram chat.
Inputs
- chat_id (required) — ID of the chat.
- action (required) — The action to send. Options include: Cancel, Recording Voice Note, Typing, Uploading Document, Uploading Photo, Uploading Video, or Uploading Voice Note.
Output shape
A single record containing the result of the sendChatAction API call.
The action appears in the chat to indicate the user is busy. It is automatically cancelled after a few seconds unless a new action is sent.
Examples
Example 1: Indicate that the bot is typing to a chat with ID 123456789.
Action: Typing, Chat ID: 123456789
Example 2: Indicate that the bot is uploading a video to a chat with ID 987654321.
Action: Uploading Video, Chat ID: 987654321
Example 3: Cancel the current action in a chat with ID 111222333.
Action: Cancel, Chat ID: 111222333