Skip to content

Commit 81895d7

Browse files
committed
Fix Chat.available_reactions type hint
1 parent 53584bc commit 81895d7

File tree

1 file changed

+2
-2
lines changed
  • pyrogram/types/user_and_chats

1 file changed

+2
-2
lines changed

pyrogram/types/user_and_chats/chat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class Chat(Object):
126126
The default "send_as" chat.
127127
Returned only in :meth:`~pyrogram.Client.get_chat`.
128128
129-
available_reactions (List of :obj:`~pyrogram.types.Reaction`, *optional*):
129+
available_reactions (:obj:`~pyrogram.types.ChatReactions`, *optional*):
130130
Available reactions in the chat.
131131
Returned only in :meth:`~pyrogram.Client.get_chat`.
132132
"""
@@ -162,7 +162,7 @@ def __init__(
162162
distance: int = None,
163163
linked_chat: "types.Chat" = None,
164164
send_as_chat: "types.Chat" = None,
165-
available_reactions: Optional[List["types.Reaction"]] = None
165+
available_reactions: Optional["types.ChatReactions"] = None
166166
):
167167
super().__init__(client)
168168

0 commit comments

Comments
 (0)