From 81895d74c7e677c2d64b768b3c166bc2555d5993 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 18 Sep 2022 16:04:07 +0200 Subject: [PATCH] Fix Chat.available_reactions type hint --- pyrogram/types/user_and_chats/chat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/types/user_and_chats/chat.py b/pyrogram/types/user_and_chats/chat.py index aa727952..f37542fb 100644 --- a/pyrogram/types/user_and_chats/chat.py +++ b/pyrogram/types/user_and_chats/chat.py @@ -126,7 +126,7 @@ class Chat(Object): The default "send_as" 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. Returned only in :meth:`~pyrogram.Client.get_chat`. """ @@ -162,7 +162,7 @@ class Chat(Object): distance: int = None, linked_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)