Skip to content

GramIO API Reference / gramio/dist / SendChatActionParams

Interface: SendChatActionParams

Defined in: @gramio/types/out/params.d.ts:1613

Params object for sendChatAction method

Properties

PropertyTypeDescriptionDefined in
actionSendChatActionActionType 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.@gramio/types/out/params.d.ts:1629
business_connection_id?stringUnique identifier of the business connection on behalf of which the action will be sent@gramio/types/out/params.d.ts:1617
chat_idstring | numberUnique identifier for the target chat or username of the target supergroup (in the format @supergroupusername). Channel chats and channel direct messages chats aren't supported.@gramio/types/out/params.d.ts:1621
message_thread_id?numberUnique identifier for the target message thread or topic of a forum; for supergroups and private chats of bots with forum topic mode enabled only@gramio/types/out/params.d.ts:1625