MS Teams Bot icon

MS Teams Bot

Interact with Microsoft Teams Bot Framework

Actions9

Message → Update

AI-generated

Summary

Update an existing message in a Microsoft Teams conversation by specifying the service URL, conversation ID, activity ID, new message text, and message format.

Inputs

  • Service URL (required) — The service URL from the Bot Framework activity.
  • Conversation ID (required) — The conversation ID to send the message to.
  • Activity ID (required) — The ID of the activity/message to update.
  • Message Text (required) — The new text content of the message to update.
  • Message Type (required) — The format of the message text: Text, HTML, or Markdown.

Output shape

a single JSON object representing the updated activity from Microsoft Teams Bot Framework API

Returns the full activity object as response to the update operation. No pagination applies. Errors relate to authentication, invalid IDs, or malformed requests.

Examples

Example 1: Updating a Teams message's text content

Provide service URL, conversation ID, the activity ID of the existing message, update the message text, and select the message format (text, HTML, or markdown).

Links

Discussion