BusinessWorkHours

class pyrogram.raw.base.BusinessWorkHours

Specifies a set of Telegram Business opening hours.

Constructors:

This base type has 1 constructor available.

BusinessWorkHours

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_nowtrue (optional)
├── timezone_idstring
└── weekly_openVector < BusinessWeeklyOpen >
├── start_minuteint
└── end_minuteint

Example

BusinessWorkHours(
    open_now=None,
    timezone_id="text",
    weekly_open=[
            BusinessWeeklyOpen(
                start_minute=0,
                end_minute=0
            )
        ],
)