Describes reply parameters for the message that is being sent.
More...
#include <Types.h>
|
| std::optional< std::int32_t > | messageId { } |
| | Optional. Identifier of the message that will be replied to in the current chat, or in the chat chat_id if it is specified. Required if ephemeral_message_id isn't specified.
|
| std::optional< std::int64_t > | chatId { } |
| | Optional. If the message to be replied to is from a different chat, unique identifier for the chat or username of the bot, supergroup or channel in the format @username. Not supported for messages sent on behalf of a business account, messages from channel direct messages chats and ephemeral messages.
|
| std::optional< std::int32_t > | ephemeralMessageId { } |
| | Optional. Identifier of the incoming ephemeral message that will be replied to in the current chat. A reply to an ephemeral message must itself be an ephemeral message. An ephemeral message may only be replied to within 15 seconds of being sent. Required if message_id isn't specified.
|
| std::optional< bool > | allowSendingWithoutReply { } |
| | Optional. Pass True if the message should be sent even if the specified message to be replied to is not found. Always False for replies in another chat or forum topic, and sent ephemeral messages. Always True for messages sent on behalf of a business account.
|
| std::optional< std::string > | quote { } |
| | Optional. Quoted part of the message to be replied to; 0-1024 characters after entities parsing. The quote must be an exact substring of the message to be replied to, including bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities. The message will fail to send if the quote isn't found in the original message. Ignored for ephemeral messages.
|
| std::optional< std::string > | quoteParseMode { } |
| | Optional. Mode for parsing entities in the quote. See formatting options for more details.
|
| std::optional< std::vector< std::shared_ptr< MessageEntity > > > | quoteEntities { } |
| | Optional. A JSON-serialized list of special entities that appear in the quote. It can be specified instead of quote_parse_mode.
|
| std::optional< std::int32_t > | quotePosition { } |
| | Optional. Position of the quote in the original message in UTF-16 code units.
|
| std::optional< std::int32_t > | checklistTaskId { } |
| | Optional. Identifier of the specific checklist task to be replied to.
|
| std::optional< std::string > | pollOptionId { } |
| | Optional. Persistent identifier of the specific poll option to be replied to.
|
Describes reply parameters for the message that is being sent.
Definition at line 11473 of file Types.h.
◆ Ptr
◆ allowSendingWithoutReply
| std::optional<bool> TgBot::ReplyParameters::allowSendingWithoutReply { } |
Optional. Pass True if the message should be sent even if the specified message to be replied to is not found. Always False for replies in another chat or forum topic, and sent ephemeral messages. Always True for messages sent on behalf of a business account.
Definition at line 11503 of file Types.h.
◆ chatId
| std::optional<std::int64_t> TgBot::ReplyParameters::chatId { } |
Optional. If the message to be replied to is from a different chat, unique identifier for the chat or username of the bot, supergroup or channel in the format @username. Not supported for messages sent on behalf of a business account, messages from channel direct messages chats and ephemeral messages.
Definition at line 11488 of file Types.h.
◆ checklistTaskId
| std::optional<std::int32_t> TgBot::ReplyParameters::checklistTaskId { } |
Optional. Identifier of the specific checklist task to be replied to.
Definition at line 11534 of file Types.h.
◆ ephemeralMessageId
| std::optional<std::int32_t> TgBot::ReplyParameters::ephemeralMessageId { } |
Optional. Identifier of the incoming ephemeral message that will be replied to in the current chat. A reply to an ephemeral message must itself be an ephemeral message. An ephemeral message may only be replied to within 15 seconds of being sent. Required if message_id isn't specified.
Definition at line 11496 of file Types.h.
◆ messageId
| std::optional<std::int32_t> TgBot::ReplyParameters::messageId { } |
Optional. Identifier of the message that will be replied to in the current chat, or in the chat chat_id if it is specified. Required if ephemeral_message_id isn't specified.
Definition at line 11480 of file Types.h.
◆ pollOptionId
| std::optional<std::string> TgBot::ReplyParameters::pollOptionId { } |
Optional. Persistent identifier of the specific poll option to be replied to.
Definition at line 11539 of file Types.h.
◆ quote
| std::optional<std::string> TgBot::ReplyParameters::quote { } |
Optional. Quoted part of the message to be replied to; 0-1024 characters after entities parsing. The quote must be an exact substring of the message to be replied to, including bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities. The message will fail to send if the quote isn't found in the original message. Ignored for ephemeral messages.
Definition at line 11512 of file Types.h.
◆ quoteEntities
| std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::ReplyParameters::quoteEntities { } |
Optional. A JSON-serialized list of special entities that appear in the quote. It can be specified instead of quote_parse_mode.
Definition at line 11524 of file Types.h.
◆ quoteParseMode
| std::optional<std::string> TgBot::ReplyParameters::quoteParseMode { } |
Optional. Mode for parsing entities in the quote. See formatting options for more details.
Definition at line 11518 of file Types.h.
◆ quotePosition
| std::optional<std::int32_t> TgBot::ReplyParameters::quotePosition { } |
Optional. Position of the quote in the original message in UTF-16 code units.
Definition at line 11529 of file Types.h.
The documentation for this struct was generated from the following file: