diff --git a/telethon/_client/chats.py b/telethon/_client/chats.py index f132d66d..8737e576 100644 --- a/telethon/_client/chats.py +++ b/telethon/_client/chats.py @@ -205,6 +205,10 @@ class _ParticipantsIter(requestiter.RequestIter): else: user_id = participant.user_id + if isinstance(participant, types.ChannelParticipantLeft): + # These participants should be ignored. See #3231. + continue + user = users[user_id] if not self.filter_entity(user) or user.id in self.seen: continue