send_paid_reaction()

Client.send_paid_reaction()

Send a 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.

  • count (int) – Number of reactions to send. Defaults to 1.

  • private (bool) – Whether the reaction should be private. Defaults to False.

Returns:

bool – On success, True is returned.

Example

# Send paid reaction
app.send_reaction_paid(chat_id=123456789, message_id=123, count=5, private=False)

# Send private paid reaction
app.send_reaction_paid(chat_id=123456789, message_id=123, count=5, private=True)

# Retract paid reaction
app.send_reaction_paid(chat_id=123456789, message_id=123, count=0)