Skip to content

Commit

Permalink
pyrofork: Changed send_reaction description
Browse files Browse the repository at this point in the history
Now you can react to service messages
  • Loading branch information
yasirarism committed Jan 10, 2025
1 parent 647fc7b commit db7ee59
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions pyrogram/methods/messages/send_reaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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``):
Expand Down

0 comments on commit db7ee59

Please sign in to comment.