Skip to content

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

Class: ChatOwnerLeft

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

Describes a service message about the chat owner leaving the chat.

Documentation

Constructors

Constructor

new ChatOwnerLeft(payload): ChatOwnerLeft

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

Parameters

ParameterType
payloadTelegramChatOwnerLeft

Returns

ChatOwnerLeft

Properties

PropertyTypeDefined in
payloadTelegramChatOwnerLeftcontexts/index.d.ts:2444

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


newOwner

Get Signature

get newOwner(): User

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

Optional. The user which will be the new owner of the chat if the previous owner does not return to the chat

Returns

User