messages.togglePaidReactionPrivacy #

Changes the privacy of already sent paid reactions on a specific message.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.togglePaidReactionPrivacy#435885b5 peer:InputPeer msg_id:int private:PaidReactionPrivacy = Bool;

Parameters #

NameTypeDescription
peerInputPeerThe channel
msg_idintThe ID of the message to which we sent the paid reactions
privatePaidReactionPrivacyIf true, makes the current anonymous in the top sender leaderboard for this message; otherwise, does the opposite.

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.
400REACTION_EMPTYEmpty reaction provided.

Message reactions #

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