Fix Chat.available_reactions type hint

This commit is contained in:
Dan 2022-09-18 16:04:07 +02:00
parent 53584bc1db
commit 81895d74c7

View File

@ -126,7 +126,7 @@ class Chat(Object):
The default "send_as" chat. The default "send_as" chat.
Returned only in :meth:`~pyrogram.Client.get_chat`. Returned only in :meth:`~pyrogram.Client.get_chat`.
available_reactions (List of :obj:`~pyrogram.types.Reaction`, *optional*): available_reactions (:obj:`~pyrogram.types.ChatReactions`, *optional*):
Available reactions in the chat. Available reactions in the chat.
Returned only in :meth:`~pyrogram.Client.get_chat`. Returned only in :meth:`~pyrogram.Client.get_chat`.
""" """
@ -162,7 +162,7 @@ class Chat(Object):
distance: int = None, distance: int = None,
linked_chat: "types.Chat" = None, linked_chat: "types.Chat" = None,
send_as_chat: "types.Chat" = None, send_as_chat: "types.Chat" = None,
available_reactions: Optional[List["types.Reaction"]] = None available_reactions: Optional["types.ChatReactions"] = None
): ):
super().__init__(client) super().__init__(client)