Skip to main content

chat.delete method

Usage info

This method deletes a message from a conversation.

When used with a user token, this method may only delete messages that user themselves can delete in Slack.

When used with a bot token, this method may delete only messages posted by that bot.

This method has no accommodations for impersonation. If a message is sent impersonating another user, you will not be able to call chat.delete to delete that same message.

Response

The response includes the channel and timestamp properties of the deleted message.