BusinessWorkHours
- class pyrogram.raw.base.BusinessWorkHours
Specifies a set of Telegram Business opening hours.
- Constructors:
This base type has 1 constructor available.
Specifies a set of Telegram Business opening hours.
TL Schema
businessWorkHours#8c92b098
flags:#
open_now:flags.0?true
timezone_id:string
weekly_open:Vector<BusinessWeeklyOpen>
= BusinessWorkHours
Parameter Tree
BusinessWorkHours
├── open_now →
true (optional)├── timezone_id →
string└── weekly_open →
Vector < BusinessWeeklyOpen >├── start_minute →
int└── end_minute →
intExample
BusinessWorkHours(
open_now=None,
timezone_id="text",
weekly_open=[
BusinessWeeklyOpen(
start_minute=0,
end_minute=0
)
],
)