GramIO API Reference / @gramio/contexts/dist / BusinessOpeningHoursInterval
Class: BusinessOpeningHoursInterval
Defined in: contexts/index.d.ts:1386
Describes an interval of time during which a business is open.
Constructors
Constructor
new BusinessOpeningHoursInterval(
payload):BusinessOpeningHoursInterval
Defined in: contexts/index.d.ts:1388
Parameters
| Parameter | Type |
|---|---|
payload | TelegramBusinessOpeningHoursInterval |
Returns
BusinessOpeningHoursInterval
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramBusinessOpeningHoursInterval | contexts/index.d.ts:1387 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:1390
Returns
string
closingMinute
Get Signature
get closingMinute():
number
Defined in: contexts/index.d.ts:1398
The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 0 - 8 * 24 * 60
Returns
number
openingMinute
Get Signature
get openingMinute():
number
Defined in: contexts/index.d.ts:1394
The minute's sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0 - 7 * 24 * 60
Returns
number