Microsoft Teams Bot icon

Microsoft Teams Bot

Use Bot Framework conversation and activity APIs for Microsoft Teams bots

Reaction → Remove Reaction

AI-generated

Summary

Remove a specific reaction (such as like, heart, laugh, sad, angry) from an activity within a Microsoft Teams conversation using the Bot Framework API.

Inputs

  • Service URL (required) — The Bot Framework service URL where the request is sent, typically obtained from a trigger node's output.
  • Conversation ID (required) — The ID of the conversation containing the activity from which the reaction will be removed.
  • Activity ID (required) — The ID of the activity from which the reaction will be removed.
  • Reaction Type (required) — The type of reaction to remove, e.g., like, heart, laugh, sad, angry.
  • Execution Options — Optional settings including debug output, output mode (pass-through, merge, or response only), retry count for failed requests, and retry delay in milliseconds.

Output shape

a single JSON object containing metadata about the request (HTTP method and path) and the Bot Framework response payload from the remove reaction call.

Output shape is influenced by the chosen output mode: 'passThrough' appends Teams Bot fields to the incoming item JSON, 'merge' merges incoming JSON with Teams Bot response fields, and 'responseOnly' returns only the Teams Bot response fields. Debug metadata is optionally included if enabled. Errors will throw unless the node is configured to continue on failure.

Examples

Example 1: Removing a 'like' reaction from a message activity

Provide the required Service URL, Conversation ID, Activity ID, and set Reaction Type to 'like'. Optionally configure retries and output mode for handling the response.

Links

Discussion