Skip to content

Commit a60c16d

Browse files
committed
Add workflow_button block element to the Block Kit models
1 parent fe78899 commit a60c16d

30 files changed

+8644
-1921
lines changed

json-logs/samples/api/chat.postMessage.json

Lines changed: 392 additions & 62 deletions
Large diffs are not rendered by default.

json-logs/samples/api/chat.scheduleMessage.json

Lines changed: 100 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@
6161
"style": ""
6262
},
6363
"accessibility_label": "",
64+
"workflow": {
65+
"trigger": {
66+
"url": "",
67+
"customizable_input_parameters": [
68+
{
69+
"name": "",
70+
"value": ""
71+
}
72+
]
73+
}
74+
},
6475
"options": [
6576
{
6677
"text": {
@@ -314,7 +325,8 @@
314325
"source": "",
315326
"file_id": "",
316327
"file": {
317-
"thumb_gif": "",
328+
"created": 123,
329+
"timestamp": 123,
318330
"id": "",
319331
"created": 123,
320332
"timestamp": 123,
@@ -589,6 +601,28 @@
589601
},
590602
"accessibility_label": ""
591603
},
604+
{
605+
"type": "workflow_button",
606+
"action_id": "",
607+
"text": {
608+
"type": "plain_text",
609+
"text": "",
610+
"emoji": false
611+
},
612+
"workflow": {
613+
"trigger": {
614+
"url": "",
615+
"customizable_input_parameters": [
616+
{
617+
"name": "",
618+
"value": ""
619+
}
620+
]
621+
}
622+
},
623+
"style": "",
624+
"accessibility_label": ""
625+
},
592626
{
593627
"type": "checkboxes",
594628
"action_id": "",
@@ -2917,6 +2951,49 @@
29172951
"accessibility_label": ""
29182952
}
29192953
},
2954+
{
2955+
"type": "section",
2956+
"text": {
2957+
"type": "plain_text",
2958+
"text": "",
2959+
"emoji": false
2960+
},
2961+
"block_id": "",
2962+
"fields": [
2963+
{
2964+
"type": "plain_text",
2965+
"text": "",
2966+
"emoji": false
2967+
},
2968+
{
2969+
"type": "mrkdwn",
2970+
"text": "",
2971+
"verbatim": false
2972+
}
2973+
],
2974+
"accessory": {
2975+
"type": "workflow_button",
2976+
"action_id": "",
2977+
"text": {
2978+
"type": "plain_text",
2979+
"text": "",
2980+
"emoji": false
2981+
},
2982+
"workflow": {
2983+
"trigger": {
2984+
"url": "",
2985+
"customizable_input_parameters": [
2986+
{
2987+
"name": "",
2988+
"value": ""
2989+
}
2990+
]
2991+
}
2992+
},
2993+
"style": "",
2994+
"accessibility_label": ""
2995+
}
2996+
},
29202997
{
29212998
"type": "section",
29222999
"text": {
@@ -4162,6 +4239,17 @@
41624239
"style": ""
41634240
},
41644241
"accessibility_label": "",
4242+
"workflow": {
4243+
"trigger": {
4244+
"url": "",
4245+
"customizable_input_parameters": [
4246+
{
4247+
"name": "",
4248+
"value": ""
4249+
}
4250+
]
4251+
}
4252+
},
41654253
"options": [
41664254
{
41674255
"text": {
@@ -4313,6 +4401,17 @@
43134401
"style": ""
43144402
},
43154403
"accessibility_label": "",
4404+
"workflow": {
4405+
"trigger": {
4406+
"url": "",
4407+
"customizable_input_parameters": [
4408+
{
4409+
"name": "",
4410+
"value": ""
4411+
}
4412+
]
4413+
}
4414+
},
43164415
"options": [
43174416
{
43184417
"text": {

0 commit comments

Comments
 (0)