This object contains information about the quoted part of a message that is replied to by the given message.
More...
#include <Types.h>
|
| std::string | text { } |
| | Text of the quoted part of a message that is replied to by the given 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::int32_t | position { } |
| | Approximate quote position in the original message in UTF-16 code units as specified by the sender.
|
| 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 14054 of file Types.h.
◆ Ptr
◆ entities
| 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 14067 of file Types.h.
◆ isManual
| std::optional<bool> TgBot::TextQuote::isManual { } |
Optional. True, if the quote was chosen manually by the message sender. Otherwise, the quote was added automatically by the server.
Definition at line 14079 of file Types.h.
◆ position
| std::int32_t TgBot::TextQuote::position { } |
Approximate quote position in the original message in UTF-16 code units as specified by the sender.
Definition at line 14073 of file Types.h.
◆ text
| std::string TgBot::TextQuote::text { } |
Text of the quoted part of a message that is replied to by the given message.
Definition at line 14060 of file Types.h.
The documentation for this struct was generated from the following file: