class aiogram.types.forum_topic.ForumTopic(*, message_thread_id: int, name: str, icon_color: int, icon_custom_emoji_id: str | None = None, **extra_data: Any)[source]#

This object represents a forum topic.


message_thread_id: int#

Unique identifier of the forum topic

name: str#

Name of the topic

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(_ModelMetaclass__context: Any) None#

We need to both initialize private attributes and call the user-defined model_post_init method.

icon_color: int#

Color of the topic icon in RGB format

icon_custom_emoji_id: str | None#

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