This object contains information about the quoted part of a message that is replied to by the given m...
std::vector< Ptr< MessageEntity > > entities
Optional. Special entities that appear in the quote. Currently, only bold, italic,...
nl::json toJson() const
Serializes this object to JSON.
std::int32_t position
Approximate quote position in the original message in UTF-16 code units as specified by the sender.
TextQuote(const nl::json &json)
void fromJson(const nl::json &json)
Deserializes this object from JSON.
bool isManual
Optional. True, if the quote was chosen manually by the message sender. Otherwise,...
std::string text
Text of the quoted part of a message that is replied to by the given message.