mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-04 16:25:08 +00:00
Fix AttributeError raising when receiving ChatParticipantsForbidden
This commit is contained in:
@@ -60,7 +60,7 @@ class GetChatMember(BaseClient):
|
||||
)
|
||||
)
|
||||
|
||||
members = r.full_chat.participants.participants
|
||||
members = getattr(r.full_chat.participants, "participants", [])
|
||||
users = {i.id: i for i in r.users}
|
||||
|
||||
for member in members:
|
||||
|
Reference in New Issue
Block a user