mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-30 17:43:32 +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()]))
|
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:
|
else:
|
||||||
r = await self.invoke(
|
r = await self.invoke(
|
||||||
raw.functions.channels.UpdateColor(
|
raw.functions.channels.UpdateColor(
|
||||||
|
Loading…
Reference in New Issue
Block a user