Actions9
Send Chat Action
AI-generatedSummary
Send a chat action (like typing or uploading media) to a specific Zalo chat using a Zalo Bot token.
Inputs
- Chat ID (required) — The unique identifier of the chat to which the action will be sent.
- Action (required) — The chat action to perform, such as typing, choosing a sticker, uploading photo, video, voice, document, recording video or voice, or finding location.
Output shape
a single API response object containing the result of sending the chat action to the specified chat ID.
Requires valid Zalo Bot credentials. Throws error if credentials are missing or request fails.
Examples
Example 1: Indicate that the bot is typing in a chat before sending a message.
Set Chat ID to target chat, Action to 'Typing'. After execution, the chat will show the bot is typing.