> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Message

Update the content of a chat or channel message.

**Important**: This action is supported only when using the **delegated (OAuth)** method, and the **signed-in user can update only messages they originally created**.

<Note>
  External Documentation

  To learn more, visit the [Microsoft Teams documentation](https://learn.microsoft.com/en-us/graph/api/chatmessage-update?view=graph-rest-1.0\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                                                                                                        |
  | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Channel ID     | The ID of the channel to update the message in.<br /><br />Can be obtained by using the `List Channels` action.                                                                                    |
  | Chat ID        | The ID of the chat to send the message in.<br />Can be obtained by using the `List Chats` action.<br /><br />`Note`: The dynamic dropdown is supported only for **OAuth** (delegated) connections. |
  | Content        | The new content of the message to update.                                                                                                                                                          |
  | Message ID     | The ID of the message to update.<br /><br />Can be obtained by using the `List Channel Messages` action.                                                                                           |
  | Message Source | Choose whether to edit a `chat` or `channel` message.                                                                                                                                              |
  | Team ID        | The ID of the team.<br /><br />Can be obtained by using the `List All Teams` action.                                                                                                               |
</div>

## Workflow Library Example

[Update Message with Microsoft Teams and Send Results Via Email](https://library.blinkops.com/workflows/update-message-with-microsoft-teams-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-message-with-microsoft-teams-and-send-results-via-email/canvas" />
</div>
