Fix update_color chat parsing

This commit is contained in:
KurimuzonAkuma 2023-10-29 18:08:04 +03:00
parent 1c172c9f5b
commit afc4908249

View File

@ -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(