25 nl::json json = nl::json::object();
#define OBJECT_SERIALIZE_FIELD_PTR(json, json_field, field)
#define OBJECT_DESERIALIZE_FIELD_PTR(json, json_field, field, optional)
This object represents a boost added to a chat or changed. https://core.telegram.org/bots/api#chatboo...
ChatBoostUpdated(const nl::json &json)
Ptr< Chat > chat
Chat which was boosted.
nl::json toJson() const
Serializes this object to JSON.
void fromJson(const nl::json &json)
Deserializes this object from JSON.
ChatBoostUpdated()=default
Ptr< ChatBoost > boost
Information about the chat boost.