ChatOwnerChanged¶
- class telegram.ChatOwnerChanged(new_owner, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis object represents a service message about an ownership change in the chat.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
new_owneris equal.Available In
Added in version 22.7.
- Parameters:
new_owner (
telegram.User) – The new owner of the chat