Skip to content

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

Class: ChatLocation

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

Represents a location to which a chat is connected.

Constructors

Constructor

new ChatLocation(payload): ChatLocation

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

Parameters

ParameterType
payloadTelegramChatLocation

Returns

ChatLocation

Properties

PropertyTypeDefined in
payloadTelegramChatLocationcontexts/index.d.ts:3485

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


address

Get Signature

get address(): string

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

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

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

Returns

Location