Microsoft Teams Bot icon

Microsoft Teams Bot

Send messages and cards via Microsoft Teams Bot

Card → Update in Channel

AI-generated

Summary

Update an existing adaptive card message in a Microsoft Teams channel by specifying the Team ID, Channel ID, and Activity ID along with the updated adaptive card JSON.

Inputs

  • Activity ID (required) — The ID of the card message to update
  • Team ID (required) — The ID of the team containing the channel
  • Channel ID (required) — The ID of the channel containing the card to update
  • Card JSON (required) — The updated adaptive card JSON

Output shape

a single object containing the updated activity information returned by the Teams API

The output is the response from the Teams API representing the updated adaptive card message; no pagination or additional envelope is applied.

Examples

Example 1: Update an Adaptive Card in a Channel

Provide the Team ID and Channel ID where the card resides, specify the Activity ID of the card to update, and input the new Adaptive Card JSON content to replace the existing card message.

Links

Discussion