Bot Framework Composer - 自适应卡片 - 启动另一个对话框的按钮
Bot Framework Composer - Adaptive Card - Button to start another dialog
我在自适应卡上有 2 个按钮。“提交”按钮给我在 form.but 上输入的信息,“取消”按钮 same.I 想要“取消”按钮按下时重定向到另一个对话框。有什么想法吗?
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"style": "positive"
},
{
"type": "Action.Submit",
"title": "Cancel",
"associatedInputs": "none",
"id": "cancel",
"style": "destructive"
}
]
}
这里是步骤
- 在提交和取消按钮中赋值
- 根据机器人收到的值,检查调用对话框的条件
我在自适应卡上有 2 个按钮。“提交”按钮给我在 form.but 上输入的信息,“取消”按钮 same.I 想要“取消”按钮按下时重定向到另一个对话框。有什么想法吗?
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"style": "positive"
},
{
"type": "Action.Submit",
"title": "Cancel",
"associatedInputs": "none",
"id": "cancel",
"style": "destructive"
}
]
}
这里是步骤
- 在提交和取消按钮中赋值
- 根据机器人收到的值,检查调用对话框的条件