Skip to content

GramIO API Reference / @gramio/contexts/dist / BusinessOpeningHoursInterval

Class: BusinessOpeningHoursInterval ​

Defined in: contexts/index.d.ts:1627

Describes an interval of time during which a business is open.

Documentation

Constructors ​

Constructor ​

new BusinessOpeningHoursInterval(payload): BusinessOpeningHoursInterval

Defined in: contexts/index.d.ts:1629

Parameters ​

ParameterType
payloadTelegramBusinessOpeningHoursInterval

Returns ​

BusinessOpeningHoursInterval

Properties ​

PropertyTypeDefined in
payloadTelegramBusinessOpeningHoursIntervalcontexts/index.d.ts:1628

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

Defined in: contexts/index.d.ts:1631

MDN

Returns ​

string


closingMinute ​

Get Signature ​

get closingMinute(): number

Defined in: contexts/index.d.ts:1639

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:1635

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