From 2dc908ebbbc60f69131aa8ebb8154ae22f1a12e3 Mon Sep 17 00:00:00 2001 From: Lonami Date: Tue, 21 Aug 2018 17:14:42 +0200 Subject: [PATCH] Had to map chr --- telethon/client/chats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/client/chats.py b/telethon/client/chats.py index 9d0d27aa..f62305cd 100644 --- a/telethon/client/chats.py +++ b/telethon/client/chats.py @@ -93,7 +93,7 @@ class ChatMethods(UserMethods): offset=0, limit=200, hash=0 - ) for x in (search or range(ord('a'), ord('z') + 1))] + ) for x in (search or map(chr, range(ord('a'), ord('z') + 1)))] else: requests = [functions.channels.GetParticipantsRequest( channel=entity,