BackgroundType

class aiogram.types.background_type.BackgroundType(**extra_data: Any)[source]

This object describes the type of a background. Currently, it can be one of

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

model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

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

model_post_init(context: Any, /) None

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