messages.SendPaidReaction#
- class pyrogram.raw.functions.messages.SendPaidReaction#
Sends one or more paid Telegram Star reactions », transferring Telegram Stars » to a channel’s balance.
- Details:
Layer:
198
ID:
9DD6A67B
- Parameters:
peer (
InputPeer
) – The channelmsg_id (
int
32-bit
) – The message to react tocount (
int
32-bit
) – The number of stars to send (each will increment the reaction counter by one).random_id (
int
64-bit
) – Unique client message ID required to prevent message resendingprivate (
bool
, optional) – Each post with star reactions has a leaderboard with the top senders, but users can opt out of appearing there if they prefer more privacy. If the user explicitly chose to make their paid reaction(s) private, pass boolTrue to messages.sendPaidReaction.private. If the user explicitly chose to make their paid reaction(s) private, pass boolFalse to messages.sendPaidReaction.private. If the user did not make any explicit choice about the privacy of their paid reaction(s) (i.e. when reacting by clicking on an existing star reaction on a message), do not populate the messages.sendPaidReaction.private flag.
- Returns: