messages.sendPaidReaction

Sends one or more paid Telegram Star reactions », transferring Telegram Stars » to a channel's balance.

 Method schema is available as of layer 187. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
peer InputPeer The channel
msg_id int The message to react to
count int The number of stars to send (each will increment the reaction counter by one).
random_id long Unique client message ID required to prevent message resending
private flags.0?Bool 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.

Result

Updates

Bots can use this method

Related pages

Telegram Stars

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.

boolTrue

The constructor can be interpreted as a booleantrue value.

messages.sendPaidReaction

Sends one or more paid Telegram Star reactions », transferring Telegram Stars » to a channel's balance.

Message reactions

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.