tgbot-cpp
Loading...
Searching...
No Matches
ForumTopic.h
Go to the documentation of this file.
1#ifndef TGBOT_FORUMTOPIC_H
2#define TGBOT_FORUMTOPIC_H
3
4#include <cstdint>
5#include <string>
6#include <memory>
7
8namespace TgBot {
9
16public:
17 typedef std::shared_ptr<ForumTopic> Ptr;
18
22 std::int32_t messageThreadId;
23
27 std::string name;
28
32 std::int32_t iconColor;
33
37 std::string iconCustomEmojiId;
38};
39}
40
41#endif //TGBOT_FORUMTOPIC_H
This object represents a forum topic.
Definition ForumTopic.h:15
std::string name
Name of the topic.
Definition ForumTopic.h:27
std::int32_t messageThreadId
Unique identifier of the forum topic.
Definition ForumTopic.h:22
std::shared_ptr< ForumTopic > Ptr
Definition ForumTopic.h:17
std::int32_t iconColor
Color of the topic icon in RGB format.
Definition ForumTopic.h:32
std::string iconCustomEmojiId
Optional. Unique identifier of the custom emoji shown as the topic icon.
Definition ForumTopic.h:37
Definition Api.h:40