telegram.ForumTopicCreated¶
-
class
telegram.ForumTopicCreated(name, icon_color, icon_custom_emoji_id=None, **_kwargs)¶ Bases:
telegram.base.TelegramObjectThis object represents the content of a service message about a new forum topic created in the chat.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
nameandicon_colorare equal.New in version 13.15.
- Parameters
name (
str) – Name of the topicicon_color (
int) – Color of the topic icon in RGB formaticon_custom_emoji_id (
str, optional) – Unique identifier of the custom emoji shown as the topic icon.
-
name¶ Name of the topic
- Type
str
-
icon_color¶ Color of the topic icon in RGB format
- Type
int
-
icon_custom_emoji_id¶ Optional. Unique identifier of the custom emoji shown as the topic icon.
- Type
str