19 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 chat background. https://core.telegram.org/bots/api#chatbackground.
ChatBackground(const nl::json &json)
Ptr< BackgroundType > type
Type of the background.
void fromJson(const nl::json &json)