29 nl::json
json = nl::json::object();
#define OBJECT_SERIALIZE_FIELD(json, json_field, field)
Serialize.
#define OBJECT_DESERIALIZE_FIELD(json, json_field, field, default_value, optional)
Deserialize.
This object represents a service message about a new forum topic created in the chat....
std::string iconCustomEmojiId
Optional. Unique identifier of the custom emoji shown as the topic icon.
bool isNameImplicit
Optional. True, if the name of the topic wasn't specified explicitly by its creator and likely needs ...
nl::json toJson() const
Serializes this object to JSON.
std::string name
Name of the topic.
void fromJson(const nl::json &json)
Deserializes this object from JSON.
ForumTopicCreated(const nl::json &json)
std::int32_t iconColor
Color of the topic icon in RGB format.
ForumTopicCreated()=default