GramIO API Reference / @gramio/contexts/dist / ChatLocation
Class: ChatLocation
Defined in: contexts/index.d.ts:3377
Represents a location to which a chat is connected.
Constructors
Constructor
new ChatLocation(
payload):ChatLocation
Defined in: contexts/index.d.ts:3379
Parameters
| Parameter | Type |
|---|---|
payload | TelegramChatLocation |
Returns
ChatLocation
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramChatLocation | contexts/index.d.ts:3378 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:3381
Returns
string
address
Get Signature
get address():
string
Defined in: contexts/index.d.ts:3385
Location address; 1-64 characters, as defined by the chat owner
Returns
string
location
Get Signature
get location():
Location
Defined in: contexts/index.d.ts:3383
The location to which the supergroup is connected. Can't be a live location.