Arguments for Api::editMessageText.
More...
#include <Types.h>
|
| std::string | text = "" |
| | New text of the message, 1-4096 characters after entity parsing; required if rich_message isn't specified.
|
| std::variant< std::int64_t, std::string > | chatId = { } |
| | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format @username.
|
| std::int32_t | messageId = 0 |
| | Required if inline_message_id is not specified. Identifier of the message to edit.
|
| std::string | inlineMessageId = "" |
| | Required if chat_id and message_id are not specified. Identifier of the inline message.
|
| std::string | parseMode = "" |
| | Mode for parsing entities in the message text. See formatting options for more details.
|
| std::shared_ptr< LinkPreviewOptions > | linkPreviewOptions = nullptr |
| | Link preview generation options for the message.
|
| std::shared_ptr< InlineKeyboardMarkup > | replyMarkup = nullptr |
| | A JSON-serialized object for an inline keyboard.
|
| std::vector< std::shared_ptr< MessageEntity > > | entities = { } |
| | A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode.
|
| std::string | businessConnectionId = "" |
| | Unique identifier of the business connection on behalf of which the message to be edited was sent.
|
| std::shared_ptr< InputRichMessage > | richMessage = nullptr |
| | New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL isn't supported when an inline message is edited.
|
| std::vector< InputFileAttachment > | attachments = { } |
| | Files uploaded as named multipart parts. Reference each file from a composite Telegram API argument as attach://<name> and use the same name in InputFileAttachment.
|
Arguments for Api::editMessageText.
Definition at line 16002 of file Types.h.
◆ attachments
Files uploaded as named multipart parts. Reference each file from a composite Telegram API argument as attach://<name> and use the same name in InputFileAttachment.
Definition at line 16068 of file Types.h.
◆ businessConnectionId
| std::string TgBot::EditMessageTextArgs::businessConnectionId = "" |
Unique identifier of the business connection on behalf of which the message to be edited was sent.
Definition at line 16054 of file Types.h.
◆ chatId
| std::variant<std::int64_t, std::string> TgBot::EditMessageTextArgs::chatId = { } |
Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format @username.
Definition at line 16014 of file Types.h.
◆ entities
| std::vector<std::shared_ptr<MessageEntity> > TgBot::EditMessageTextArgs::entities = { } |
A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode.
Definition at line 16048 of file Types.h.
◆ inlineMessageId
| std::string TgBot::EditMessageTextArgs::inlineMessageId = "" |
Required if chat_id and message_id are not specified. Identifier of the inline message.
Definition at line 16026 of file Types.h.
◆ linkPreviewOptions
| std::shared_ptr<LinkPreviewOptions> TgBot::EditMessageTextArgs::linkPreviewOptions = nullptr |
Link preview generation options for the message.
Definition at line 16037 of file Types.h.
◆ messageId
| std::int32_t TgBot::EditMessageTextArgs::messageId = 0 |
Required if inline_message_id is not specified. Identifier of the message to edit.
Definition at line 16020 of file Types.h.
◆ parseMode
| std::string TgBot::EditMessageTextArgs::parseMode = "" |
Mode for parsing entities in the message text. See formatting options for more details.
Definition at line 16032 of file Types.h.
◆ replyMarkup
A JSON-serialized object for an inline keyboard.
Definition at line 16042 of file Types.h.
◆ richMessage
| std::shared_ptr<InputRichMessage> TgBot::EditMessageTextArgs::richMessage = nullptr |
New rich content of the message; required if text isn't specified. Direct upload of new files and explicit upload of files by a URL isn't supported when an inline message is edited.
Definition at line 16061 of file Types.h.
◆ text
| std::string TgBot::EditMessageTextArgs::text = "" |
New text of the message, 1-4096 characters after entity parsing; required if rich_message isn't specified.
Definition at line 16007 of file Types.h.
The documentation for this struct was generated from the following file: