2021-05-29

Can I allow users to delete my Slack bot messages?

I created a Slack bot that allows coworkers to report issues to certain channels, but occasionally someone misclicks or wants their report (reported in Slack by the bot via chat.postmessage) deleted. As far as I can tell, this can only be done by the bot itself through a message shortcut or an interactive message with chat.delete. I would like it to be deletable by users in the same way they would delete their own messages, by clicking the ellipses on the post and choosing delete message in the context menu. Is there a way, either by OAuth scopes or maybe Slack/Workspace/Channel admin permissions this can be done?



from Recent Questions - Stack Overflow https://ift.tt/3c1X3dY
https://ift.tt/eA8V8J

No comments:

Post a Comment