Skip to content

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

Class: ChatLocation

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

Represents a location to which a chat is connected.

Constructors

Constructor

new ChatLocation(payload): ChatLocation

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

Parameters

ParameterType
payloadTelegramChatLocation

Returns

ChatLocation

Properties

PropertyTypeDefined in
payloadTelegramChatLocationcontexts/index.d.ts:3821

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


address

Get Signature

get address(): string

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

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:3826

The location to which the supergroup is connected. Can't be a live location.

Returns

Location