Skip to content

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

Class: BusinessLocation ​

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

Contains information about the location of a Telegram Business account.

Documentation

Constructors ​

Constructor ​

new BusinessLocation(payload): BusinessLocation

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

Parameters ​

ParameterType
payloadTelegramBusinessLocation

Returns ​

BusinessLocation

Properties ​

PropertyTypeDefined in
payloadTelegramBusinessLocationcontexts/index.d.ts:1580

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


address ​

Get Signature ​

get address(): string

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

Address of the business

Returns ​

string


location ​

Get Signature ​

get location(): Location

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

Optional. Location of the business

Returns ​

Location