Interface SetMessageReactions

Sets reactions on a message; for bots only. Request type for Tdjson#setMessageReactions.

interface SetMessageReactions {
    @type: "setMessageReactions";
    chat_id: number;
    is_big?: boolean;
    message_id: number;
    reaction_types: ReactionType[];
}

Properties

@type: "setMessageReactions"
chat_id: number

Identifier of the chat to which the message belongs.

is_big?: boolean

Pass true if the reactions are added with a big animation.

message_id: number

Identifier of the message.

reaction_types: ReactionType[]

Types of the reaction to set; pass an empty list to remove the reactions.