Closed tho-can-code closed 4 years ago
I have the buttons
attachments_json = [ { "fallback": "Please choose", "color": "#258ab5", "attachment_type": "default", "callback_id": "callback_id_1111", "actions": [ { "name": "choco1", "text": "Button 1", "value": "test value 1", "type": "button" }, { "name": "choco2", "text": "Button 2", "value": "test value 2", "type": "button" } ] } ]
How can I catch value (callback_id, name, value) when user press into button in Slack? @lins05 @lucywang000
I have the buttons
attachments_json = [ { "fallback": "Please choose", "color": "#258ab5", "attachment_type": "default", "callback_id": "callback_id_1111", "actions": [ { "name": "choco1", "text": "Button 1", "value": "test value 1", "type": "button" }, { "name": "choco2", "text": "Button 2", "value": "test value 2", "type": "button" } ] } ]
How can I catch value (callback_id, name, value) when user press into button in Slack? @lins05 @lucywang000