peyk.platforms.telegram.types.business_opening_hours¶
Classes
|
Describes the opening hours of a business. |
- class peyk.platforms.telegram.types.business_opening_hours.BusinessOpeningHours(time_zone_name: str, opening_hours: List[BusinessOpeningHoursInterval])[source]¶
Bases:
objectDescribes the opening hours of a business.
- Variables:
time_zone_name (str) – Unique name of the time zone for which the opening hours are defined
opening_hours (List[peyk.platforms.telegram.types.business_opening_hours_interval.BusinessOpeningHoursInterval]) – List of time intervals describing business opening hours
- time_zone_name: str¶
- opening_hours: List[BusinessOpeningHoursInterval]¶
- classmethod from_dict(data: dict | None) BusinessOpeningHours | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.