sendChatAction
Send a chat action.
Parameters
The identifier of a chat to send the chat action to.
The chat action.
messageThreadId?: number
businessConnectionId?: string
The identifier of a business connection to perform the action on. Bot-only.
Result
void
Syntax
// Required parameters only.
await client.sendChatAction(chatId, action);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.sendChatAction(chatId, action, { messageThreadId, businessConnectionId });