Slack interactive message, click on button or menu to open a link -


i have snooze select button on message attachment.

actions: [    {       name: 'snoozetime',       text: 'select time...',       type: 'select',       options: [         {             text: '1 hour',             value: '1hour'         },         {             text: '4 hours',             value: '4'         },         {             text: '24 hours',             value: '24hours'         },         {             text: 'custom',             value: 'custom'         }       ]   } ] 

i want redirect user web page choose custom snooze time. please tell me how achieve it?

thanks

slack not support automatic redirect 3rd party website. talked slack support feature weeks ago , said discussed internally, not support @ time because of security concerns.

your option (and 1 have chosen apps, e.g. rafflebot) show custom link the user (as part of slack message or attachment), user has click , opens website. bit ugly, works.

or wait upcoming "input box" feature slack has promised implement. find under "interactive message stage 3" on slack platform roadmap. not aware of timeline, flagged "near term".


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -