21 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)
Describes a service message about an ownership change in the chat. https://core.telegram....
ChatOwnerChanged(const nl::json &json)
void fromJson(const nl::json &json)
Deserializes this object from JSON.
nl::json toJson() const
Serializes this object to JSON.
ChatOwnerChanged()=default
Ptr< User > newOwner
The new owner of the chat.