From 972bae988549baeaf9298db6187fa8e8fe701993 Mon Sep 17 00:00:00 2001 From: KurimuzonAkuma Date: Fri, 16 Aug 2024 10:04:58 +0300 Subject: [PATCH] Fix parameters description in send_paid_reaction method --- pyrogram/methods/messages/send_paid_reaction.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyrogram/methods/messages/send_paid_reaction.py b/pyrogram/methods/messages/send_paid_reaction.py index 691ebf6e..91a8d64a 100644 --- a/pyrogram/methods/messages/send_paid_reaction.py +++ b/pyrogram/methods/messages/send_paid_reaction.py @@ -38,10 +38,10 @@ class SendPaidReaction: chat_id (``int`` | ``str``): Unique identifier (int) or username (str) of the target chat. - message_id (``int``, *optional*): + message_id (``int``): Identifier of the message. - amount (``int``, *optional*): + amount (``int``): Amount of stars to send. is_private (``bool``, *optional*): @@ -54,7 +54,7 @@ class SendPaidReaction: .. code-block:: python # Send paid reaction with 1 star - await app.send_paid_reaction(chat_id, message_id, count=1) + await app.send_paid_reaction(chat_id, message_id, amount=1) """ rpc = raw.functions.messages.SendPaidReaction( peer=await self.resolve_peer(chat_id),