24 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)
Serialize.
#define OBJECT_DESERIALIZE_FIELD(json, json_field, field, default_value, optional)
Deserialize.
#define OBJECT_DESERIALIZE_FIELD_PTR_ARRAY(json, json_field, array_field, optional)
This object represents the audios displayed on a user's profile. https://core.telegram....
nl::json toJson() const
Serializes this object to JSON.
UserProfileAudios()=default
std::vector< Ptr< Audio > > audios
Requested profile audios.
UserProfileAudios(const nl::json &json)
void fromJson(const nl::json &json)
Deserializes this object from JSON.
std::int32_t totalCount
Total number of profile audios for the target user.