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

# chat_delete

> Delete a Slack message. A bot token may only delete messages that bot posted.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://slack.com/api/chat.delete"}</code></div>

```python slack_chat_delete.py theme={null}
from charter.packs import slack

result = await slack.chat_delete.ainvoke({"channel": ..., "ts": ...})
```

<Note>
  Requires `chat:write`, `channels:read`, `groups:read`, `im:read`, `mpim:read`, `channels:history`, `groups:history`, `im:history`, `mpim:history`, `users:read`, `reactions:write`.
</Note>

## Body

<div className="reference-table">
  | Field                                                           | Type     | Description                                                       |
  | --------------------------------------------------------------- | -------- | ----------------------------------------------------------------- |
  | `channel` <span className="required" title="required">\*</span> | `string` | Channel containing the message to be deleted.                     |
  | `ts` <span className="required" title="required">\*</span>      | `string` | Timestamp of the message to be deleted, e.g. '1405894322.002768'. |
</div>
