teleproto - v1.234.0
    Preparing search index...

    Interface MessagesSendPaidReactionParams

    interface MessagesSendPaidReactionParams {
        count: number;
        msgId: number;
        peer: TypeInputPeerIn;
        private?: TypePaidReactionPrivacyIn;
        randomId?: BigInteger;
    }
    Index
    count: number

    The number of stars to send (each will increment the reaction counter by one).

    msgId: number

    The message to react to

    The channel

    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. Not populating this field will use the default reaction privacy, stored on the server and synced to clients using updatePaidReactionPrivacy (see here for more info).

    randomId?: BigInteger

    Unique client message ID required to prevent message resending. Note : this argument must be composed of a 64-bit integer where the lower 32 bits are random, and the higher 32 bits are equal to the current unixtime , i.e. `uint64_t random_id = (time() << 32). See here » for more info on random ID deduplication and updateMessageID mapping.