Add button to message template
Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
@@ -30,6 +30,16 @@
|
|||||||
"value": "{{.SlackMessageID}}",
|
"value": "{{.SlackMessageID}}",
|
||||||
"style": "primary"
|
"style": "primary"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "button",
|
||||||
|
"text": {
|
||||||
|
"type": "plain_text",
|
||||||
|
"text": "❌ Reject All"
|
||||||
|
},
|
||||||
|
"action_id": "reject_all",
|
||||||
|
"value": "{{.SlackMessageID}}",
|
||||||
|
"style": "danger"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "button",
|
"type": "button",
|
||||||
"text": {
|
"text": {
|
||||||
|
|||||||
Reference in New Issue
Block a user