GramIO API Reference / gramio/dist / SendChatActionParams
Interface: SendChatActionParams
Defined in: @gramio/types/out/params.d.ts:1800
Params object for sendChatAction method
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
action | SendChatActionAction | 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. | @gramio/types/out/params.d.ts:1816 |
business_connection_id? | string | Unique identifier of the business connection on behalf of which the action will be sent | @gramio/types/out/params.d.ts:1804 |
chat_id | string | number | 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. | @gramio/types/out/params.d.ts:1808 |
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 | @gramio/types/out/params.d.ts:1812 |