From 738b96b64cd74f2124840c3d103bebe8a58fd3d3 Mon Sep 17 00:00:00 2001 From: KurimuzonAkuma Date: Sat, 3 Feb 2024 13:07:11 +0300 Subject: [PATCH] Move emoji argument above story_id --- pyrogram/methods/messages/send_reaction.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyrogram/methods/messages/send_reaction.py b/pyrogram/methods/messages/send_reaction.py index 62687833..454989c0 100644 --- a/pyrogram/methods/messages/send_reaction.py +++ b/pyrogram/methods/messages/send_reaction.py @@ -27,8 +27,8 @@ class SendReaction: self: "pyrogram.Client", chat_id: Union[int, str], message_id: int = None, - story_id: int = None, emoji: Union[int, str, List[Union[int, str]]] = None, + story_id: int = None, big: bool = False ) -> bool: """Send a reaction to a message or story. @@ -42,14 +42,14 @@ class SendReaction: message_id (``int``, *optional*): Identifier of the message. - story_id (``int``, *optional*): - Identifier of the story. - emoji (``int`` | ``str`` | List of ``int`` | ``str``, *optional*): Reaction emoji. Pass None as emoji (default) to retract the reaction. Pass list of int or str to react multiple emojis. + story_id (``int``, *optional*): + Identifier of the story. + big (``bool``, *optional*): Pass True to show a bigger and longer reaction. Defaults to False.