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

This object represents a service message about a new forum topic created in the chat. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ForumTopicCreated>

Public Attributes

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 service message about a new forum topic created in the chat.

Definition at line 3758 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 3759 of file Types.h.

Member Data Documentation

◆ iconColor

std::int32_t TgBot::ForumTopicCreated::iconColor { }

Color of the topic icon in RGB format.

Definition at line 3769 of file Types.h.

◆ iconCustomEmojiId

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

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

Definition at line 3774 of file Types.h.

◆ isNameImplicit

std::optional<bool> TgBot::ForumTopicCreated::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 3780 of file Types.h.

◆ name

std::string TgBot::ForumTopicCreated::name { }

Name of the topic.

Definition at line 3764 of file Types.h.


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