@@ -66,8 +66,12 @@ class Chat(Object):
6666 photo (:obj:`~pyrogram.types.ChatPhoto`, *optional*):
6767 Chat photo. Suitable for downloads only.
6868
69+ bio (``str``, *optional*):
70+ Bio of the other party in a private chat.
71+ Returned only in :meth:`~pyrogram.Client.get_chat`.
72+
6973 description (``str``, *optional*):
70- Bio , for private chats and bots or description for groups, supergroups and channels .
74+ Description , for groups, supergroups and channel chats .
7175 Returned only in :meth:`~pyrogram.Client.get_chat`.
7276
7377 dc_id (``int``, *optional*):
@@ -126,6 +130,7 @@ def __init__(
126130 first_name : str = None ,
127131 last_name : str = None ,
128132 photo : "types.ChatPhoto" = None ,
133+ bio : str = None ,
129134 description : str = None ,
130135 dc_id : int = None ,
131136 invite_link : str = None ,
@@ -152,6 +157,7 @@ def __init__(
152157 self .first_name = first_name
153158 self .last_name = last_name
154159 self .photo = photo
160+ self .bio = bio
155161 self .description = description
156162 self .dc_id = dc_id
157163 self .invite_link = invite_link
@@ -245,7 +251,7 @@ def _parse_dialog(client, peer, users: dict, chats: dict):
245251 async def _parse_full (client , chat_full : raw .types .messages .ChatFull or raw .types .UserFull ) -> "Chat" :
246252 if isinstance (chat_full , raw .types .UserFull ):
247253 parsed_chat = Chat ._parse_user_chat (client , chat_full .user )
248- parsed_chat .description = chat_full .about
254+ parsed_chat .bio = chat_full .about
249255
250256 if chat_full .pinned_msg_id :
251257 parsed_chat .pinned_message = await client .get_messages (
0 commit comments