Raw.messages.TogglePaidReactionPrivacy

Raw.messages.TogglePaidReactionPrivacy

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

messages.togglePaidReactionPrivacy#435885b5 peer:InputPeer msg_id:int private:PaidReactionPrivacy = Bool;
export namespace Raw {
  export namespace messages {
    export class TogglePaidReactionPrivacy {
      constructor(params: {
        peer: Raw.TypeInputPeer;
        msgId: number;
        private: Raw.TypePaidReactionPrivacy;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 201
Constructor ID: 0x435885b5

Property

  • peer : Raw.TypeInputPeer

    The channel

  • msgId : number

    The id of the message to which we sent the paid reactions

  • private : Raw.TypePaidReactionPrivacy

    If true, makes the current anonymous in the top sender leaderboard for this message; otherwise, does the opposite.

Results

boolean