21 nl::json json = nl::json::object();
#define OBJECT_SERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field)
#define OBJECT_DESERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field, optional)
This object represents a list of boosts added to a chat by a user. https://core.telegram....
std::vector< Ptr< ChatBoost > > boosts
The list of boosts added to the chat by the user.
UserChatBoosts(const nl::json &json)
void fromJson(const nl::json &json)
Deserializes this object from JSON.
nl::json toJson() const
Serializes this object to JSON.