mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 14:25:55 +00:00
Tiny copy-paste fix
This commit is contained in:
@@ -180,7 +180,7 @@ class Chat(Object):
|
|||||||
id=peer_id,
|
id=peer_id,
|
||||||
type="group",
|
type="group",
|
||||||
title=chat.title,
|
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),
|
photo=ChatPhoto._parse(client, getattr(chat, "photo", None), peer_id, 0),
|
||||||
permissions=ChatPermissions._parse(getattr(chat, "default_banned_rights", None)),
|
permissions=ChatPermissions._parse(getattr(chat, "default_banned_rights", None)),
|
||||||
members_count=getattr(chat, "participants_count", None),
|
members_count=getattr(chat, "participants_count", None),
|
||||||
|
Reference in New Issue
Block a user