Function add_message_reaction

Source
pub async fn add_message_reaction(
    chat_id: i64,
    message_id: i64,
    reaction_type: ReactionType,
    is_big: bool,
    update_recent_reactions: bool,
    client_id: i32,
) -> Result<(), Error>
Expand description

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

ยงArguments

  • chat_id - Identifier of the chat to which the message belongs
  • message_id - Identifier of the message
  • reaction_type - Type of the reaction to add
  • is_big - Pass true if the reaction is added with a big animation
  • update_recent_reactions - Pass true if the reaction needs to be added to recent reactions; tags are never added to the list of recent reactions
  • client_id - The client id to send the request to