tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
This object represents a service message about a new forum topic created in the chat. https://core.telegram.org/bots/api#forumtopiccreated. More...
#include <ForumTopicCreated.hpp>
Public Member Functions | |
ForumTopicCreated ()=default | |
ForumTopicCreated (const nl::json &json) | |
nl::json | toJson () const |
Serializes this object to JSON. More... | |
void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Attributes | |
std::string | name |
Name of the topic. More... | |
std::int32_t | iconColor {} |
Color of the topic icon in RGB format. More... | |
std::string | iconCustomEmojiId |
Optional. Unique identifier of the custom emoji shown as the topic icon. More... | |
This object represents a service message about a new forum topic created in the chat. https://core.telegram.org/bots/api#forumtopiccreated.
Definition at line 7 of file ForumTopicCreated.hpp.
|
default |
|
inlineexplicit |
Definition at line 9 of file ForumTopicCreated.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 34 of file ForumTopicCreated.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 25 of file ForumTopicCreated.hpp.
std::int32_t tgbotxx::ForumTopicCreated::iconColor {} |
Color of the topic icon in RGB format.
Definition at line 17 of file ForumTopicCreated.hpp.
std::string tgbotxx::ForumTopicCreated::iconCustomEmojiId |
Optional. Unique identifier of the custom emoji shown as the topic icon.
Definition at line 20 of file ForumTopicCreated.hpp.
std::string tgbotxx::ForumTopicCreated::name |
Name of the topic.
Definition at line 14 of file ForumTopicCreated.hpp.