BusinessWeeklyOpen

class pyrogram.raw.types.BusinessWeeklyOpen

A time interval, indicating the opening hours of a business.

Constructor of BusinessWeeklyOpen.

Details:
  • Layer: 223

  • ID: 120B1AB9

Parameters:
  • start_minute (int 32-bit) – Start minute in minutes of the week, 0 to 7*24*60 inclusively.

  • end_minute (int 32-bit) – End minute in minutes of the week, 1 to 8*24*60 inclusively (8 and not 7 because this allows to specify intervals that, for example, start on Sunday 21:00 and end on Monday 04:00 (6*24*60+21*60 to 7*24*60+4*60) without passing an invalid end_minute < start_minute). See here » for more info.

TL Schema

businessWeeklyOpen#120b1ab9
start_minute:int
end_minute:int

= BusinessWeeklyOpen

Parameter Tree

BusinessWeeklyOpen
├── start_minuteint
└── end_minuteint

Example

BusinessWeeklyOpen(
    start_minute=0,
    end_minute=0,
)