Skip to content

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

Class: ChatOwnerLeft

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

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

Documentation

Constructors

Constructor

new ChatOwnerLeft(payload): ChatOwnerLeft

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

Parameters

ParameterType
payloadTelegramChatOwnerLeft

Returns

ChatOwnerLeft

Properties

PropertyTypeDefined in
payloadTelegramChatOwnerLeftcontexts/index.d.ts:1528

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


newOwner

Get Signature

get newOwner(): User

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

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

Returns

User