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

Arguments for Api::editForumTopic. 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::int32_t messageThreadId { }
 Unique identifier for the target message thread of the forum topic.
std::string name = ""
 New topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept.
std::string iconCustomEmojiId = ""
 New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers. Pass an empty string to remove the icon. If not specified, the current icon will be kept.

Detailed Description

Arguments for Api::editForumTopic.

Definition at line 15705 of file Types.h.

Member Data Documentation

◆ chatId

std::variant<std::int64_t, std::string> TgBot::EditForumTopicArgs::chatId { }

Unique identifier for the target chat or username of the target supergroup in the format @username.

Definition at line 15710 of file Types.h.

◆ iconCustomEmojiId

std::string TgBot::EditForumTopicArgs::iconCustomEmojiId = ""

New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers. Pass an empty string to remove the icon. If not specified, the current icon will be kept.

Definition at line 15729 of file Types.h.

◆ messageThreadId

std::int32_t TgBot::EditForumTopicArgs::messageThreadId { }

Unique identifier for the target message thread of the forum topic.

Definition at line 15715 of file Types.h.

◆ name

std::string TgBot::EditForumTopicArgs::name = ""

New topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept.

Definition at line 15721 of file Types.h.


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