mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
pyrofork: Changed send_reaction description
Now you can react to service messages Signed-off-by: Yasir <git@yasir.id>
This commit is contained in:
parent
2e0ec55dd3
commit
d82a3fb1f7
1 changed files with 10 additions and 6 deletions
|
|
@ -34,12 +34,16 @@ class SendReaction:
|
||||||
add_to_recent: bool = False
|
add_to_recent: bool = False
|
||||||
) -> "types.MessageReactions":
|
) -> "types.MessageReactions":
|
||||||
"""Use this method to send reactions on a message/stories.
|
"""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.
|
||||||
Automatically forwarded messages from
|
Bots can't use paid reactions.
|
||||||
a channel to its discussion group have the
|
|
||||||
same available reactions as messages in the channel.
|
|
||||||
|
|
||||||
.. include:: /_includes/usable-by/users-bots.rst
|
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:
|
Parameters:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue