diff --git a/pyrogram/client/types/user_and_chats/chat_members.py b/pyrogram/client/types/user_and_chats/chat_members.py index f526725a..88219514 100644 --- a/pyrogram/client/types/user_and_chats/chat_members.py +++ b/pyrogram/client/types/user_and_chats/chat_members.py @@ -59,8 +59,7 @@ class ChatMembers(PyrogramType): total_count = len(members) for member in members: - user = User._parse(client, users[member.user_id]) - chat_members.append(ChatMember._parse(client, member, user)) + chat_members.append(ChatMember._parse(client, member, users[member.user_id])) return ChatMembers( total_count=total_count,