channelParticipantLeft

due to upgrade to Layer 120
channelParticipantLeft#c3c6796b user_id:int = ChannelParticipant;
This commit is contained in:
x0x8x 2020-12-04 16:28:43 +03:00 committed by GitHub
parent 2439404ad1
commit 3c1c3f96f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,13 @@ class ParticipantPermissions:
"""
return isinstance(self.participant, types.ChannelParticipantBanned)
@property
def is_left(self):
"""
Whether the user left the chat.
"""
return isinstance(self.participant, types.ChannelParticipantLeft)
@property
def add_admins(self):
"""