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.
Constructors
Constructor
new ChatOwnerLeft(
payload):ChatOwnerLeft
Defined in: contexts/index.d.ts:2445
Parameters
| Parameter | Type |
|---|---|
payload | TelegramChatOwnerLeft |
Returns
ChatOwnerLeft
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramChatOwnerLeft | contexts/index.d.ts:2444 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:2447
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