mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Fix Chat.available_reactions type hint
This commit is contained in:
parent
53584bc1db
commit
81895d74c7
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue