peyk.platforms.telegram.types.business_opening_hours

Classes

BusinessOpeningHours(time_zone_name, ...)

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: object

Describes the opening hours of a business.

Variables:
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.