mirror of
				https://github.com/LonamiWebs/Telethon.git
				synced 2025-10-31 16:07:44 +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) | ||||
| 
 | ||||
|     @property | ||||
|     def has_left(self): | ||||
|         """ | ||||
|         Whether the user left the chat. | ||||
|         """ | ||||
|         return isinstance(self.participant, types.ChannelParticipantLeft) | ||||
|      | ||||
|     @property | ||||
|     def add_admins(self): | ||||
|         """ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user