Skip to content

sendChatAction

Function · TDLib 1.8.67 · d1085f9c

Sends a notification about user activity in a chat

sendChatAction(
  chat_id: int53,
  topic_id: MessageTopic,
  business_connection_id: string,
  action: ChatAction
) → Ok

chat_id

int53

Chat identifier

topic_id

MessageTopic

Identifier of the topic in which the action is performed; pass null if none

business_connection_id

string

Unique identifier of business connection on behalf of which to send the request; for bots only

action

ChatAction

The action description; pass null to cancel the currently active action