Skip to content

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

Class: BusinessLocation

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

Contains information about the location of a Telegram Business account.

Documentation

Constructors

Constructor

new BusinessLocation(payload): BusinessLocation

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

Parameters

ParameterType
payloadTelegramBusinessLocation

Returns

BusinessLocation

Properties

PropertyTypeDefined in
payloadTelegramBusinessLocationcontexts/index.d.ts:1353

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


address

Get Signature

get address(): string

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

Address of the business

Returns

string


location

Get Signature

get location(): Location

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

Optional. Location of the business

Returns

Location