tgbot-cpp
|
This object contains information about the quoted part of a message that is replied to by the given message. More...
#include <TextQuote.h>
Public Types | |
typedef std::shared_ptr< TextQuote > | Ptr |
Public Attributes | |
std::string | text |
Text of the quoted part of a message that is replied to by the given message. | |
std::vector< MessageEntity::Ptr > | entities |
Optional. Special entities that appear in the quote. | |
std::int32_t | position |
Approximate quote position in the original message in UTF-16 code units as specified by the sender. | |
bool | isManual |
Optional. True, if the quote was chosen manually by the message sender. | |
This object contains information about the quoted part of a message that is replied to by the given message.
Definition at line 18 of file TextQuote.h.
typedef std::shared_ptr<TextQuote> TgBot::TextQuote::Ptr |
Definition at line 21 of file TextQuote.h.
std::vector<MessageEntity::Ptr> TgBot::TextQuote::entities |
Optional. Special entities that appear in the quote.
Currently, only bold, italic, underline, strikethrough, spoiler, and customEmoji entities are kept in quotes.
Definition at line 33 of file TextQuote.h.
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 45 of file TextQuote.h.
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 38 of file TextQuote.h.
std::string TgBot::TextQuote::text |
Text of the quoted part of a message that is replied to by the given message.
Definition at line 26 of file TextQuote.h.