@@ -124,6 +124,10 @@ class Chat(Object):
124124 send_as_chat (:obj:`~pyrogram.types.Chat`, *optional*):
125125 The default "send_as" chat.
126126 Returned only in :meth:`~pyrogram.Client.get_chat`.
127+
128+ available_reactions (List of ``str``, *optional*):
129+ Available reactions in the chat.
130+ Returned only in :meth:`~pyrogram.Client.get_chat`.
127131 """
128132
129133 def __init__ (
@@ -156,7 +160,8 @@ def __init__(
156160 permissions : "types.ChatPermissions" = None ,
157161 distance : int = None ,
158162 linked_chat : "types.Chat" = None ,
159- send_as_chat : "types.Chat" = None
163+ send_as_chat : "types.Chat" = None ,
164+ available_reactions : List [str ] = None
160165 ):
161166 super ().__init__ (client )
162167
@@ -187,6 +192,7 @@ def __init__(
187192 self .distance = distance
188193 self .linked_chat = linked_chat
189194 self .send_as_chat = send_as_chat
195+ self .available_reactions = available_reactions
190196
191197 @staticmethod
192198 def _parse_user_chat (client , user : raw .types .User ) -> "Chat" :
@@ -336,6 +342,8 @@ async def _parse_full(client, chat_full: Union[raw.types.messages.ChatFull, raw.
336342 if isinstance (full_chat .exported_invite , raw .types .ChatInviteExported ):
337343 parsed_chat .invite_link = full_chat .exported_invite .link
338344
345+ parsed_chat .available_reactions = full_chat .available_reactions or None
346+
339347 return parsed_chat
340348
341349 @staticmethod
0 commit comments