peyk.platforms.telegram.types.chat_owner_changed

Classes

ChatOwnerChanged([from_user, to_user])

Describes a service message about an ownership change in the chat.

class peyk.platforms.telegram.types.chat_owner_changed.ChatOwnerChanged(from_user: User | None = None, to_user: User | None = None)[source]

Bases: object

Describes a service message about an ownership change in the chat.

Variables:

new_owner – The new owner of the chat

from_user: User | None = None
to_user: User | None = None
classmethod from_dict(data: dict | None) ChatOwnerChanged | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.