Interface SetStoryReaction

Changes chosen reaction on a story that has already been sent. Request type for Tdjson#setStoryReaction.

interface SetStoryReaction {
    @type: "setStoryReaction";
    reaction_type: ReactionType;
    story_id: number;
    story_sender_chat_id: number;
    update_recent_reactions?: boolean;
}

Properties

@type: "setStoryReaction"
reaction_type: ReactionType

Type of the reaction to set; pass null to remove the reaction. Custom emoji reactions can be used only by Telegram Premium users. Paid reactions can't be set.

story_id: number

The identifier of the story.

story_sender_chat_id: number

The identifier of the sender of the story.

update_recent_reactions?: boolean

Pass true if the reaction needs to be added to recent reactions.