> ## 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

Updates a message.

<Note>
  External Documentation

  To learn more, visit the [Slack documentation](https://api.slack.com/methods/chat.update).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                                                                                                                                        |
  | -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Channel ID     | Channel containing the message to be updated. A channel ID can be found at the bottom of the channel's details screen.                                                                                                             |
  | Message Blocks | A JSON-based array of structured blocks, presented as a URL-encoded string. If you don't include this field, the message's previous `blocks` will be retained. To remove previous `blocks`, include an empty array for this field. |
  | Message Text   | New text for the message, using the default formatting rules. It's not required when presenting `blocks` or `attachments`.                                                                                                         |
  | Timestamp      | Timestamp of the message to be updated. for example - '1234567890.123456'.                                                                                                                                                         |
</div>

## Example Output

```json theme={"dark"}
{
	"channel": "C024BE91L",
	"message": {
		"text": "Updated text you carefully authored",
		"user": "U34567890"
	},
	"ok": true,
	"text": "Updated text you carefully authored",
	"ts": "1401383885.000061"
}
```

## Workflow Library Example

[Update Message with Slack and Send Results Via Email](https://library.blinkops.com/workflows/update-message-with-slack-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-slack-and-send-results-via-email/canvas" />
</div>
