Skip to content

addMessageReaction

Function · TDLib 1.8.67 · d1085f9c

Adds a reaction or a tag to a message. Use getMessageAvailableReactions to receive the list of available reactions for the message

addMessageReaction(
  chat_id: int53,
  message_id: int53,
  reaction_type: ReactionType,
  is_big: Bool,
  update_recent_reactions: Bool
) → Ok

chat_id

int53

Identifier of the chat to which the message belongs

message_id

int53

Identifier of the message

reaction_type

ReactionType

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

is_big

Bool

Pass true if the reaction is added with a big animation

update_recent_reactions

Bool

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