|
tgbotxx 1.1.9.2
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. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| std::string | name |
| Name of the topic. | |
| std::int32_t | iconColor {} |
| Color of the topic icon in RGB format. | |
| std::string | iconCustomEmojiId |
| Optional. Unique identifier of the custom emoji shown as the topic icon. | |
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.