ChatOwnerLeft¶
- class telegram.ChatOwnerLeft(new_owner=None, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis object represents a service message about the chat owner leaving 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, optional) – The user which will be the new owner of the chat if the previous owner does not return to the chat
- new_owner[source]¶
Optional. The user which will be the new owner of the chat if the previous owner does not return to the chat
- Type: