mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-30 05:48:14 +00:00
Tiny copy-paste fix
This commit is contained in:
parent
85e08f774d
commit
87512e20c3
@ -180,7 +180,7 @@ class Chat(Object):
|
||||
id=peer_id,
|
||||
type="group",
|
||||
title=chat.title,
|
||||
is_creator=getattr(channel, "creator", None),
|
||||
is_creator=getattr(chat, "creator", None),
|
||||
photo=ChatPhoto._parse(client, getattr(chat, "photo", None), peer_id, 0),
|
||||
permissions=ChatPermissions._parse(getattr(chat, "default_banned_rights", None)),
|
||||
members_count=getattr(chat, "participants_count", None),
|
||||
|
Loading…
x
Reference in New Issue
Block a user