Interface SendChatAction

Sends a notification about user activity in a chat. Request type for Tdjson#sendChatAction.

interface SendChatAction {
    @type: "sendChatAction";
    action: ChatAction;
    business_connection_id: string;
    chat_id: number;
    message_thread_id: number;
}

Properties

@type: "sendChatAction"
action: ChatAction

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

business_connection_id: string

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

chat_id: number

Chat identifier.

message_thread_id: number

If not 0, the message thread identifier in which the action was performed.