python-message-menu-example icon indicating copy to clipboard operation
python-message-menu-example copied to clipboard

Darn – that didn’t work. Only Slack Apps can add interactive elements to messages. Manage your apps here: https://api.slack.com/apps/

Open leoszn opened this issue 6 years ago • 1 comments

Hi, I have a problem that receiving response from the message button, please help.

my ngrok URL is https://46dc7138.ngrok.io, I have set my interactive component URL to https://46dc7138.ngrok.io/slack/actions and in my code @app.route('/slack/actions', methods=['POST']) but I still get the error Darn – that didn’t work. Only Slack Apps can add interactive elements to messages. Manage your apps here: https://api.slack.com/apps/

leoszn avatar Mar 28 '18 03:03 leoszn

You have to make an App instead a legacy customized bot integration. https://api.slack.com/interactive-messages

chaunceyyann avatar Mar 28 '18 09:03 chaunceyyann