Arguments for Api::editEphemeralMessageText.
More...
#include <Types.h>
|
| std::variant< std::int64_t, std::string > | chatId { } |
| | Unique identifier for the target chat or username of the target supergroup in the format @username.
|
| std::int32_t | ephemeralMessageId { } |
| | Identifier of the ephemeral message to edit.
|
| std::int64_t | receiverUserId { } |
| | Identifier of the user who received the message.
|
| std::string | text = "" |
| | New text of the message, 1-4096 characters after entity parsing; required if rich_message isn't specified.
|
| 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::shared_ptr< LinkPreviewOptions > | linkPreviewOptions = nullptr |
| | Link preview generation options for the message.
|
| std::string | parseMode = "" |
| | Mode for parsing entities in the message text. See formatting options for more details.
|
| std::shared_ptr< InlineKeyboardMarkup > | replyMarkup = nullptr |
| | A JSON-serialized object for an inline keyboard.
|
| std::shared_ptr< InputRichMessage > | richMessage = nullptr |
| | New rich content of the message; required if text isn't specified.
|
Arguments for Api::editEphemeralMessageText.
Definition at line 15650 of file Types.h.
◆ chatId
| std::variant<std::int64_t, std::string> TgBot::EditEphemeralMessageTextArgs::chatId { } |
Unique identifier for the target chat or username of the target supergroup in the format @username.
Definition at line 15655 of file Types.h.
◆ entities
| std::vector<std::shared_ptr<MessageEntity> > TgBot::EditEphemeralMessageTextArgs::entities = { } |
A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode.
Definition at line 15677 of file Types.h.
◆ ephemeralMessageId
| std::int32_t TgBot::EditEphemeralMessageTextArgs::ephemeralMessageId { } |
Identifier of the ephemeral message to edit.
Definition at line 15660 of file Types.h.
◆ linkPreviewOptions
| std::shared_ptr<LinkPreviewOptions> TgBot::EditEphemeralMessageTextArgs::linkPreviewOptions = nullptr |
Link preview generation options for the message.
Definition at line 15682 of file Types.h.
◆ parseMode
| std::string TgBot::EditEphemeralMessageTextArgs::parseMode = "" |
Mode for parsing entities in the message text. See formatting options for more details.
Definition at line 15688 of file Types.h.
◆ receiverUserId
| std::int64_t TgBot::EditEphemeralMessageTextArgs::receiverUserId { } |
Identifier of the user who received the message.
Definition at line 15665 of file Types.h.
◆ replyMarkup
A JSON-serialized object for an inline keyboard.
Definition at line 15693 of file Types.h.
◆ richMessage
| std::shared_ptr<InputRichMessage> TgBot::EditEphemeralMessageTextArgs::richMessage = nullptr |
New rich content of the message; required if text isn't specified.
Definition at line 15698 of file Types.h.
◆ text
| std::string TgBot::EditEphemeralMessageTextArgs::text = "" |
New text of the message, 1-4096 characters after entity parsing; required if rich_message isn't specified.
Definition at line 15671 of file Types.h.
The documentation for this struct was generated from the following file: