Skip to content

setStoryReaction

Function · TDLib 1.8.67 · d1085f9c

Changes chosen reaction on a story that has already been sent; not supported for live stories

setStoryReaction(
  story_poster_chat_id: int53,
  story_id: int32,
  reaction_type: ReactionType,
  update_recent_reactions: Bool
) → Ok

story_poster_chat_id

int53

The identifier of the poster of the story

story_id

int32

The identifier of the story

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

update_recent_reactions

Bool

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