Arguments for Api::createForumTopic.
More...
#include <Types.h>
|
| std::variant< std::int64_t, std::string > | chatId { } |
| | Unique identifier for the target chat or username of the target supergroup in the format @username.
|
| std::string | name { } |
| | Topic name, 1-128 characters.
|
| std::uint32_t | iconColor = 0 |
| | Color of the topic icon in RGB format. Currently, must be one of 7322096 (0x6FB9F0), 16766590 (0xFFD67E), 13338331 (0xCB86DB), 9367192 (0x8EEE98), 16749490 (0xFF93B2), or 16478047 (0xFB6F5F).
|
| std::string | iconCustomEmojiId = "" |
| | Unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers.
|
Arguments for Api::createForumTopic.
Definition at line 15810 of file Types.h.
◆ chatId
| std::variant<std::int64_t, std::string> TgBot::CreateForumTopicArgs::chatId { } |
Unique identifier for the target chat or username of the target supergroup in the format @username.
Definition at line 15815 of file Types.h.
◆ iconColor
| std::uint32_t TgBot::CreateForumTopicArgs::iconColor = 0 |
Color of the topic icon in RGB format. Currently, must be one of 7322096 (0x6FB9F0), 16766590 (0xFFD67E), 13338331 (0xCB86DB), 9367192 (0x8EEE98), 16749490 (0xFF93B2), or 16478047 (0xFB6F5F).
Definition at line 15827 of file Types.h.
◆ iconCustomEmojiId
| std::string TgBot::CreateForumTopicArgs::iconCustomEmojiId = "" |
Unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers.
Definition at line 15833 of file Types.h.
◆ name
| std::string TgBot::CreateForumTopicArgs::name { } |
Topic name, 1-128 characters.
Definition at line 15820 of file Types.h.
The documentation for this struct was generated from the following file: