sendChatAction

Send a chat action.

Parameters

chatId: ID

The chat to send the chat action to.

action: ChatAction

The chat action.

messageThreadId?: number

Result

void

Syntax

await client.sendChatAction(chatId, action);