Interface AddPendingPaidMessageReaction

Adds the paid message reaction to a message. Use getMessageAvailableReactions to check whether the reaction is available for the message. Request type for Tdjson#addPendingPaidMessageReaction.

interface AddPendingPaidMessageReaction {
    @type: "addPendingPaidMessageReaction";
    chat_id: number;
    is_anonymous?: boolean;
    message_id: number;
    star_count: number;
    use_default_is_anonymous?: boolean;
}

Properties

@type: "addPendingPaidMessageReaction"
chat_id: number

Identifier of the chat to which the message belongs.

is_anonymous?: boolean

Pass true to make paid reaction of the user on the message anonymous; pass false to make the user's profile visible among top reactors. Ignored if use_default_is_anonymous == true.

message_id: number

Identifier of the message.

star_count: number

Number of Telegram Stars to be used for the reaction. The total number of pending paid reactions must not exceed getOption("paid_reaction_star_count_max").

use_default_is_anonymous?: boolean

Pass true if the user didn't choose anonymity explicitly, for example, the reaction is set from the message bubble.