peyk.platforms.telegram.types.chat_owner_left

Classes

ChatOwnerLeft([user])

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

class peyk.platforms.telegram.types.chat_owner_left.ChatOwnerLeft(user: User | None = None)[source]

Bases: object

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

Variables:

new_owner – The user who will become the new owner of the chat if the previous owner does not return to the chat

user: User | None = None
classmethod from_dict(data: dict | None) ChatOwnerLeft | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.