BusinessOpeningHours¶
- class telegram.BusinessOpeningHours(time_zone_name, opening_hours, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
This object describes the opening hours of a business.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
time_zone_name
andopening_hours
are equal.Available In
Added in version 21.1.
- Parameters:
time_zone_name (
str
) – Unique name of the time zone for which the opening hours are defined.opening_hours (Sequence[
telegram.BusinessOpeningHoursInterval
]) – List of time intervals describing business opening hours.
- opening_hours[source]¶
List of time intervals describing business opening hours.
- Type:
Sequence[
telegram.BusinessOpeningHoursInterval
]