This object contains information about the quoted part of a message that is replied to by the given message.
More...
|
| std::string | text { } |
| | Text of the quoted part of a message that is replied to by the given message; may be empty if the quote was chosen from a rich message.
|
| std::optional< std::vector< std::shared_ptr< MessageEntity > > > | entities { } |
| | Optional. Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are kept in quotes.
|
| std::optional< std::vector< std::shared_ptr< RichText > > > | richTexts { } |
| | Optional. Rich text of the quote if it was chosen from a rich message. May contain only plain text, RichTextBold, RichTextItalic, RichTextUnderline, RichTextStrikethrough, RichTextSpoiler, RichTextSubscript, RichTextSuperscript, RichTextDateTime, RichTextCustomEmoji, RichTextMathematicalExpression, and arrays of them.
|
| std::uint32_t | position { } |
| | Approximate quote position in the original message in UTF-16 code units as specified by the sender. For quotes from rich messages, it is the position in the text formed by joining plain texts of all quotable texts of the message, separated by line feeds.
|
| std::optional< bool > | isManual { } |
| | Optional. True, if the quote was chosen manually by the message sender. Otherwise, the quote was added automatically by the server.
|
This object contains information about the quoted part of a message that is replied to by the given message.
Definition at line 13555 of file Types.h.
| std::optional<std::vector<std::shared_ptr<MessageEntity> > > TgBot::TextQuote::entities { } |
Optional. Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are kept in quotes.
Definition at line 13568 of file Types.h.