diff --git a/telethon/client/users.py b/telethon/client/users.py index 0db2705b..39d68aad 100644 --- a/telethon/client/users.py +++ b/telethon/client/users.py @@ -281,7 +281,7 @@ class UserMethods: users = tmp if chats: # TODO Handle chats slice? chats = (await self( - functions.messages.GetChatsRequest(chats))).chats + functions.messages.GetChatsRequest([x.chat_id for x in chats]))).chats if channels: channels = (await self( functions.channels.GetChannelsRequest(channels))).chats