BusinessOpeningHours

class aiogram.types.business_opening_hours.BusinessOpeningHours(*, time_zone_name: str, opening_hours: list[BusinessOpeningHoursInterval], **extra_data: Any)[source]

Describes the opening hours of a business.

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

time_zone_name: str

Unique name of the time zone for which the opening hours are defined

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.

opening_hours: list[BusinessOpeningHoursInterval]

List of time intervals describing business opening hours