telegram.ForumTopic

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

Bases: telegram.TelegramObject

This object represents a forum topic.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their message_thread_id, name and icon_color are equal.

New in version 20.0.

Parameters
message_thread_id[source]

Unique identifier of the forum topic

Type

int

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