telegramx.js

SendChatActionParams

interface

Declaration

interface SendChatActionParams 

Properties

actionproperty#
action: string;

Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_voice or upload_voice for voice notes, upload_document for general files, choose_sticker for stickers, find_location for location data, record_video_note or upload_video_note for video notes.

business_connection_id?: string;

Unique identifier of the business connection on behalf of which the action will be sent

chat_idproperty#
chat_id: number | string;

Unique identifier for the target chat or username of the target bot or supergroup in the format username. Channel chats and channel direct messages chats aren't supported.

message_thread_id?: number;

Unique identifier for the target message thread or topic of a forum; for supergroups and private chats of bots with forum topic mode enabled only