peyk.platforms.telegram.types.chat_owner_changed¶
Classes
|
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:
objectDescribes a service message about an ownership change in the chat.
- Variables:
new_owner – The new owner of the chat
- 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.