mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Fix Chat.available_reactions type hint
This commit is contained in:
parent
53584bc1db
commit
81895d74c7
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user