Slack.Web.Chat.delete
You're seeing just the function
delete
, go back to Slack.Web.Chat module for more information.
Deletes a message.
Required Params
channel
- Channel containing the message to be deleted.ts
- Timestamp of the message to be deleted. ex:1405894322.002768
Errors the API can return:
cant_delete_message
- Authenticated user does not have permission to delete this message.channel_not_found
- Value passed forchannel
was invalid.compliance_exports_prevent_deletion
- Compliance exports are on, messages can not be deletedmessage_not_found
- No message exists with the requested timestamp.