tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
This object represents a forum topic. https://core.telegram.org/bots/api#forumtopic. More...
#include <ForumTopic.hpp>
Public Member Functions | |
ForumTopic ()=default | |
ForumTopic (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::int32_t | messageThreadId {} |
Unique identifier of the forum topic. More... | |
std::string | name |
Name of the topic. More... | |
std::int32_t | iconColor {} |
Color of the topic icon in RGB format. More... | |
std::int32_t | iconCustomEmojiId {} |
Optional. Unique identifier of the custom emoji shown as the topic icon. More... | |
This object represents a forum topic. https://core.telegram.org/bots/api#forumtopic.
Definition at line 7 of file ForumTopic.hpp.
|
default |
|
inlineexplicit |
Definition at line 9 of file ForumTopic.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 37 of file ForumTopic.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 27 of file ForumTopic.hpp.
std::int32_t tgbotxx::ForumTopic::iconColor {} |
Color of the topic icon in RGB format.
Definition at line 20 of file ForumTopic.hpp.
std::int32_t tgbotxx::ForumTopic::iconCustomEmojiId {} |
Optional. Unique identifier of the custom emoji shown as the topic icon.
Definition at line 23 of file ForumTopic.hpp.
std::int32_t tgbotxx::ForumTopic::messageThreadId {} |
Unique identifier of the forum topic.
Definition at line 14 of file ForumTopic.hpp.
std::string tgbotxx::ForumTopic::name |
Name of the topic.
Definition at line 17 of file ForumTopic.hpp.