provider chat POST /chat.delete
@utdk/slack /chat.delete
chat_delete
Deletes a message.
token header
Authentication token. Requires scope: `chat:write`
string

Try it

Authentication
Configure credentials for Slack Web API
chatDelete
POST/chat.delete
Deletes a message.

Input

Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope.

Channel containing the message to be deleted.

Timestamp of the message to be deleted.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.chatDelete()