send_paid_reaction()#
- Client.send_paid_reaction()#
Send a paid reaction to a message.
Usable by Users Bots- Parameters:
chat_id (
int
|str
) – Unique identifier (int) or username (str) of the target chat.message_id (
int
) – Identifier of the message.amount (
int
) – Amount of stars to send.is_private (
bool
, optional) – Pass True to hide you from top reactors.
- Returns:
bool
– On success, True is returned.
Example
# Send paid reaction with 1 star await app.send_paid_reaction(chat_id, message_id, amount=1)