botframework - 如何在 Teams Manifest 中的 inputType 'choiceset' 上设置硬编码值?
问题描述
我想知道是否有一种解决方法可以在 MS Teams Manifest 中为输入类型选择集设置选项
您可以在 MS Teams 清单文件上设置的示例。
{
"name": "options",
"title": "Options",
"description": "Demo Options",
"inputType": "choiceset"
}
解决方案
我还没有在互联网上找到答案,但是当我试图操纵 Teams Manifest 时我发现了答案,我发现有一个 Intillecense 可供选择,它是一个数组。
这是示例清单 JSON。
{
"name": "option",
"title": "opption",
"description": "Demo Option",
"inputType": "choiceset",
"choices": [
{
"title": "option1",
"value": "1"
},
{
"title": "option2",
"value": "2"
}
]
}
推荐阅读
- r - 投影带有或不带有聚合的栅格时的不同结果
- javascript - 如何在 Vue.js 中使用 MaterializeCss?
- mongodb - 如何在mongodb中获取动作记录之间的计数和差异?
- python - Python 单行 if-else 实现
- javascript - 折叠菜单区域中的按钮和链接不可点击
- javascript - 如何在 React 中创建自动完成
- overflow - GNATprove:求幂函数中的“溢出检查可能失败”
- ios - 如何仅在集合视图中使单元格出列
- django - 通过从模板传递 slug 进行 Django 动态过滤
- sql - Spark - 基于来自另一个数据帧中的列的值查询数据帧