mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-25 00:34:19 +03:00
Add admin log event.has_left (#1642)
This commit is contained in:
parent
2439404ad1
commit
12380207ba
|
@ -79,6 +79,13 @@ class ParticipantPermissions:
|
||||||
"""
|
"""
|
||||||
return isinstance(self.participant, types.ChannelParticipantBanned)
|
return isinstance(self.participant, types.ChannelParticipantBanned)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def has_left(self):
|
||||||
|
"""
|
||||||
|
Whether the user left the chat.
|
||||||
|
"""
|
||||||
|
return isinstance(self.participant, types.ChannelParticipantLeft)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def add_admins(self):
|
def add_admins(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user