Slack では、チェックボックスを追加するなど、ブロック キット ビルダーを使用して非常に簡単に UI を構築できます。ユーザーがアプリのホームを開いたときにチェックボックスを1つでも選択する方法はありますか? 1つできれば、あとは簡単にできるはずです。
{
"type": "home",
"blocks": [
{
"type": "input",
"element": {
"type": "checkboxes",
"options": [
{
"text": {
"type": "plain_text",
"text": "*this is plain_text text*",
"emoji": true
},
"value": "value-0"
},
{
"text": {
"type": "plain_text",
"text": "*this is plain_text text*",
"emoji": true
},
"value": "value-1"
}
],
"action_id": "checkboxes-action"
},
"label": {
"type": "plain_text",
"text": "Label",
"emoji": true
}
}
]
}