Skip to content

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

Class: BusinessOpeningHours ​

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

Documentation

Constructors ​

Constructor ​

new BusinessOpeningHours(payload): BusinessOpeningHours

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

Parameters ​

ParameterType
payloadTelegramBusinessOpeningHours

Returns ​

BusinessOpeningHours

Properties ​

PropertyTypeDefined in
payloadTelegramBusinessOpeningHourscontexts/index.d.ts:1612

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


openingHours ​

Get Signature ​

get openingHours(): TelegramBusinessOpeningHoursInterval[]

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

List of time intervals describing business opening hours

Returns ​

TelegramBusinessOpeningHoursInterval[]


timeZoneName ​

Get Signature ​

get timeZoneName(): string

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

Unique name of the time zone for which the opening hours are defined

Returns ​

string