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

This object represents a forum topic. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ForumTopic>

Public Attributes

std::int32_t messageThreadId { }
 Unique identifier of the forum topic.
std::string name { }
 Name of the topic.
std::int32_t iconColor { }
 Color of the topic icon in RGB format.
std::optional< std::string > iconCustomEmojiId { }
 Optional. Unique identifier of the custom emoji shown as the topic icon.
std::optional< bool > isNameImplicit { }
 Optional. True, if the name of the topic wasn't specified explicitly by its creator and likely needs to be changed by the bot.

Detailed Description

This object represents a forum topic.

Definition at line 3709 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::ForumTopic::Ptr = std::shared_ptr<ForumTopic>

Definition at line 3710 of file Types.h.

Member Data Documentation

◆ iconColor

std::int32_t TgBot::ForumTopic::iconColor { }

Color of the topic icon in RGB format.

Definition at line 3725 of file Types.h.

◆ iconCustomEmojiId

std::optional<std::string> TgBot::ForumTopic::iconCustomEmojiId { }

Optional. Unique identifier of the custom emoji shown as the topic icon.

Definition at line 3730 of file Types.h.

◆ isNameImplicit

std::optional<bool> TgBot::ForumTopic::isNameImplicit { }

Optional. True, if the name of the topic wasn't specified explicitly by its creator and likely needs to be changed by the bot.

Definition at line 3736 of file Types.h.

◆ messageThreadId

std::int32_t TgBot::ForumTopic::messageThreadId { }

Unique identifier of the forum topic.

Definition at line 3715 of file Types.h.

◆ name

std::string TgBot::ForumTopic::name { }

Name of the topic.

Definition at line 3720 of file Types.h.


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