Skip to main content

businessWeeklyOpen

A time interval, indicating the opening hours of a business. Note that opening hours specified by the user must be appropriately validated and transformed before uploading them to the server, as specified here ».

type tg.BusinessWeeklyOpen struct { /* ... */ }

Fields

NameTypeRequiredDescription
StartMinuteintyesStart minute in minutes of the week, 0 to 72460 inclusively.
EndMinuteintyesEnd minute in minutes of the week, 1 to 82460 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 (62460+2160 to 72460+460) without passing an invalid end_minute < start_minute). See here » for more info.

References