ForumTopicCreated

class aiogram.types.forum_topic_created.ForumTopicCreated(*, name: str, icon_color: int, icon_custom_emoji_id: str | None = None, **extra_data: Any)[source]

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

Source: https://core.telegram.org/bots/api#forumtopiccreated

name: str

Name of the topic

icon_color: int

Color of the topic icon in RGB format

model_post_init(context: Any, /) None

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

icon_custom_emoji_id: str | None

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