mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Add Chat.description for basic chats
This commit is contained in:
parent
8a99f996ab
commit
3dc2a81d72
@ -231,6 +231,7 @@ class Chat(Object):
|
||||
|
||||
if isinstance(full_chat, types.ChatFull):
|
||||
parsed_chat = Chat._parse_chat_chat(client, chat)
|
||||
parsed_chat.description = full_chat.about or None
|
||||
|
||||
if isinstance(full_chat.participants, types.ChatParticipants):
|
||||
parsed_chat.members_count = len(full_chat.participants.participants)
|
||||
|
Loading…
x
Reference in New Issue
Block a user