BackgroundTypeChatTheme#

class aiogram.types.background_type_chat_theme.BackgroundTypeChatTheme(*, type: Literal['chat_theme'] = 'chat_theme', theme_name: str, **extra_data: Any)[source]#

The background is taken directly from a built-in chat theme.

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

type: Literal['chat_theme']#

Type of the background, always ‘chat_theme’

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.

theme_name: str#

Name of the chat theme, which is usually an emoji