diff --git a/pyrogram/methods/chats/get_chat_members.py b/pyrogram/methods/chats/get_chat_members.py index 1f891b46..64abf1e5 100644 --- a/pyrogram/methods/chats/get_chat_members.py +++ b/pyrogram/methods/chats/get_chat_members.py @@ -112,7 +112,7 @@ class GetChatMembers(Scaffold): ) ) - members = r.full_chat.participants.participants + members = getattr(r.full_chat.participants, "participants", []) users = {i.id: i for i in r.users} return types.List(types.ChatMember._parse(self, member, users, {}) for member in members)