Interface AddMessageReaction

Adds a reaction or a tag to a message. Use getMessageAvailableReactions to receive the list of available reactions for the message. Request type for Tdjson#addMessageReaction.

interface AddMessageReaction {
    @type: "addMessageReaction";
    chat_id: number;
    is_big?: boolean;
    message_id: number;
    reaction_type: ReactionType;
    update_recent_reactions?: boolean;
}

Properties

@type: "addMessageReaction"
chat_id: number

Identifier of the chat to which the message belongs.

is_big?: boolean

Pass true if the reaction is added with a big animation.

message_id: number

Identifier of the message.

reaction_type: ReactionType

Type of the reaction to add. Use addPendingPaidMessageReaction instead to add the paid reaction.

update_recent_reactions?: boolean

Pass true if the reaction needs to be added to recent reactions; tags are never added to the list of recent reactions.