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.
Constructors
Constructor
new BusinessLocation(
payload):BusinessLocation
Defined in: contexts/index.d.ts:1354
Parameters
| Parameter | Type |
|---|---|
payload | TelegramBusinessLocation |
Returns
BusinessLocation
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramBusinessLocation | contexts/index.d.ts:1353 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:1356
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