44 nl::json json = nl::json::object();
#define OBJECT_SERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field)
#define OBJECT_SERIALIZE_FIELD(json, json_field, field)
Available objects: https://core.telegram.org/bots/api#available-types.
#define OBJECT_DESERIALIZE_FIELD(json, json_field, field, default_value, optional)
Deserialize.
#define OBJECT_DESERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field, optional)
Describes reply parameters for the message that is being sent. https://core.telegram....
nl::json toJson() const
Serializes this object to JSON.
void fromJson(const nl::json &json)
Deserializes this object from JSON.
ReplyParameters(const nl::json &json)
std::vector< Ptr< MessageEntity > > quoteEntities
Optional. A JSON-serialized list of special entities that appear in the quote. It can be specified in...
std::string quote
Optional. Quoted part of the message to be replied to; 0-1024 characters after entities parsing....
std::int32_t messageId
Identifier of the message that will be replied to in the current chat, or in the chat chat_id if it i...
std::string quoteParseMode
Optional. Mode for parsing entities in the quote. See formatting options for more details.
std::int64_t chatId
Optional. If the message to be replied to is from a different chat, unique identifier for the chat or...
std::int32_t quotePosition
Optional. Position of the quote in the original message in UTF-16 code units.
bool allowSendingWithoutReply
Optional. Pass True if the message should be sent even if the specified message to be replied to is n...
ReplyParameters()=default