Arguments for Api::sendChatAction.
More...
#include <Types.h>
|
| std::variant< std::int64_t, std::string > | chatId { } |
| | 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.
|
| std::string | action { } |
| | 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.
|
| std::int32_t | messageThreadId = 0 |
| | 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.
|
| std::string | businessConnectionId = "" |
| | Unique identifier of the business connection on behalf of which the action will be sent.
|
Arguments for Api::sendChatAction.
Definition at line 17750 of file Types.h.
◆ action
| std::string TgBot::SendChatActionArgs::action { } |
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.
Definition at line 17766 of file Types.h.
◆ businessConnectionId
| std::string TgBot::SendChatActionArgs::businessConnectionId = "" |
Unique identifier of the business connection on behalf of which the action will be sent.
Definition at line 17778 of file Types.h.
◆ chatId
| std::variant<std::int64_t, std::string> TgBot::SendChatActionArgs::chatId { } |
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.
Definition at line 17756 of file Types.h.
◆ messageThreadId
| std::int32_t TgBot::SendChatActionArgs::messageThreadId = 0 |
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.
Definition at line 17772 of file Types.h.
The documentation for this struct was generated from the following file: