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
| Name | Type | Required | Description |
|---|---|---|---|
StartMinute | int | yes | Start minute in minutes of the week, 0 to 72460 inclusively. |
EndMinute | int | yes | End 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
- Official documentation
- Generated Go reference
- TL definition:
businessWeeklyOpen#120b1ab9