mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-27 16:45:19 +00:00
Fix update_color chat parsing
This commit is contained in:
parent
1c172c9f5b
commit
afc4908249
@ -66,7 +66,7 @@ class UpdateColor:
|
||||
)
|
||||
|
||||
r = await self.invoke(raw.functions.users.GetUsers(id=[raw.types.InputPeerSelf()]))
|
||||
return types.Chat._parse_user_chat(self, r)
|
||||
return types.Chat._parse_user_chat(self, r[0])
|
||||
else:
|
||||
r = await self.invoke(
|
||||
raw.functions.channels.UpdateColor(
|
||||
|
Loading…
Reference in New Issue
Block a user