ForumTopicCreated

class telegram.ForumTopicCreated(name, icon_color, icon_custom_emoji_id=None, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

This 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 name and icon_color are equal.

Added in version 20.0.

Parameters:
name[source]

Name of the topic

Type:

str

icon_color[source]

Color of the topic icon in RGB format

Type:

int

icon_custom_emoji_id[source]

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

Type:

str