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

# Slack: Actions/update Message

> Edit the text or blocks of a Slack message your bot posted earlier, such as replacing an approval prompt with the outcome.

Edit the text or blocks of a Slack message your bot posted earlier, such as replacing an approval prompt with the outcome.

> [!NOTE]
>
> Tool ID: `slack_update_message`

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe slack_update_message --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe slack_update_message --json` for the complete live contract.

## Input reference

Update a message authored by the connected Slack bot using chat.update. Provide channel, ts, and at least one field to change. Empty blocks or attachments arrays remove existing content. markdown\_text cannot be combined with text or blocks.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.channel` | `string` | Yes | — | Conversation ID containing the message. For DMs, use the D-prefixed conversation ID, not a user ID. Minimum length: 1. Pattern: `\S`. |
| `payload.ts` | `string` | Yes | — | Timestamp of the message to update, as a string. Use message\_ref.ts from HITL or data.ts from a posted message. Minimum length: 1. Pattern: `^\d+\.\d+$`. |
| `payload.text` | `string` | No | — | Slack message text. Recommended accessibility fallback when blocks or attachments are supplied. |
| `payload.blocks` | `array` | No | — | Maximum items: 50. |
| `payload.attachments` | `array` | No | — | — |
| `payload.unfurled_attachments` | `array` | No | — | — |
| `payload.markdown_text` | `string` | No | — | Maximum length: 12000. |
| `payload.metadata` | `record` | No | — | — |
| `payload.as_user` | `boolean` | No | — | — |
| `payload.link_names` | `boolean` | No | — | — |
| `payload.parse` | `"none" \| "full"` | No | — | Allowed: `none`, `full`. |
| `payload.reply_broadcast` | `boolean` | No | — | — |
| `payload.file_ids` | `array` | No | — | — |

> [!NOTE]
>
> This input schema is too large for an inline display. Read the complete live contract with `deepline describe slack_update_message --json`.

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `record` | Yes | — | Provider response payload. |
| `result.meta` | `record` | No | — | Additional response metadata. |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "additionalProperties": {}
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata.",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Slack provider guide](https://deepline.com/docs/providers/slack/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.