MS Teams Bot Framework icon

MS Teams Bot Framework

Send messages and interact with MS Teams using Azure Bot Framework

Update Message

AI-generated

Summary

Update an existing Teams message

Inputs

  • conversationId (required) — The conversation ID where to update the message
  • activityId (required) — The ID of the message to update
  • updatedText (required) — The updated message text
  • additionalFields — Optional fields such as channel ID, tenant ID, and message type

Output shape

An array of result objects, each containing a success flag and the updated activity data

The response includes success status and the full activity payload; no additional pagination or error envelope is returned

Examples

Example 1: Modify the text of a previously sent message

conversationId: '123', activityId: '456', updatedText: 'Revised content', additionalFields: {}

Example 2: Update a message with extra metadata

conversationId: '123', activityId: '456', updatedText: 'New text', additionalFields: {channelId: '19:...', messageType: 'notification'}

Discussion