From 608090defe64e297dc7167cdd40435f4d6cc297c Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Fri, 10 Jan 2025 09:53:23 +0700 Subject: [PATCH] pyrofork: Changed `send_reaction` description Now you can react to service messages --- pyrogram/methods/messages/send_reaction.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pyrogram/methods/messages/send_reaction.py b/pyrogram/methods/messages/send_reaction.py index 3045adc35..cac2fe1da 100644 --- a/pyrogram/methods/messages/send_reaction.py +++ b/pyrogram/methods/messages/send_reaction.py @@ -34,12 +34,16 @@ async def send_reaction( add_to_recent: bool = False ) -> "types.MessageReactions": """Use this method to send reactions on a message/stories. - Service messages can't be reacted to. - Automatically forwarded messages from - a channel to its discussion group have the - same available reactions as messages in the channel. - - .. include:: /_includes/usable-by/users-bots.rst + Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. + Bots can't use paid reactions. + + You must use exactly one of ``message_id`` OR ``story_id``. + + If you specify, ``message_id`` + .. include:: /_includes/usable-by/users-bots.rst + + If you specify, ``story_id`` + .. include:: /_includes/usable-by/users.rst Parameters: chat_id (``int`` | ``str``):