Skip to content

Commit

Permalink
Add workflow_button block element to the Block Kit models
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Sep 4, 2023
1 parent fe78899 commit a60c16d
Show file tree
Hide file tree
Showing 30 changed files with 8,644 additions and 1,921 deletions.
454 changes: 392 additions & 62 deletions json-logs/samples/api/chat.postMessage.json

Large diffs are not rendered by default.

101 changes: 100 additions & 1 deletion json-logs/samples/api/chat.scheduleMessage.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@
"style": ""
},
"accessibility_label": "",
"workflow": {
"trigger": {
"url": "",
"customizable_input_parameters": [
{
"name": "",
"value": ""
}
]
}
},
"options": [
{
"text": {
Expand Down Expand Up @@ -314,7 +325,8 @@
"source": "",
"file_id": "",
"file": {
"thumb_gif": "",
"created": 123,
"timestamp": 123,
"id": "",
"created": 123,
"timestamp": 123,
Expand Down Expand Up @@ -589,6 +601,28 @@
},
"accessibility_label": ""
},
{
"type": "workflow_button",
"action_id": "",
"text": {
"type": "plain_text",
"text": "",
"emoji": false
},
"workflow": {
"trigger": {
"url": "",
"customizable_input_parameters": [
{
"name": "",
"value": ""
}
]
}
},
"style": "",
"accessibility_label": ""
},
{
"type": "checkboxes",
"action_id": "",
Expand Down Expand Up @@ -2917,6 +2951,49 @@
"accessibility_label": ""
}
},
{
"type": "section",
"text": {
"type": "plain_text",
"text": "",
"emoji": false
},
"block_id": "",
"fields": [
{
"type": "plain_text",
"text": "",
"emoji": false
},
{
"type": "mrkdwn",
"text": "",
"verbatim": false
}
],
"accessory": {
"type": "workflow_button",
"action_id": "",
"text": {
"type": "plain_text",
"text": "",
"emoji": false
},
"workflow": {
"trigger": {
"url": "",
"customizable_input_parameters": [
{
"name": "",
"value": ""
}
]
}
},
"style": "",
"accessibility_label": ""
}
},
{
"type": "section",
"text": {
Expand Down Expand Up @@ -4162,6 +4239,17 @@
"style": ""
},
"accessibility_label": "",
"workflow": {
"trigger": {
"url": "",
"customizable_input_parameters": [
{
"name": "",
"value": ""
}
]
}
},
"options": [
{
"text": {
Expand Down Expand Up @@ -4313,6 +4401,17 @@
"style": ""
},
"accessibility_label": "",
"workflow": {
"trigger": {
"url": "",
"customizable_input_parameters": [
{
"name": "",
"value": ""
}
]
}
},
"options": [
{
"text": {
Expand Down
Loading

0 comments on commit a60c16d

Please sign in to comment.