tgbot-cpp
Loading...
Searching...
No Matches
TgBot::CreateForumTopicArgs Struct Reference

Arguments for Api::createForumTopic. More...

#include <Types.h>

Public Attributes

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::int32_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.

Detailed Description

Arguments for Api::createForumTopic.

Definition at line 14969 of file Types.h.

Member Data Documentation

◆ 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 14974 of file Types.h.

◆ iconColor

std::int32_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 14986 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 14992 of file Types.h.

◆ name

std::string TgBot::CreateForumTopicArgs::name { }

Topic name, 1-128 characters.

Definition at line 14979 of file Types.h.


The documentation for this struct was generated from the following file: