bots - 在 BOT 模拟器中显示自适应卡片的注释
问题描述
我在 BOT 模拟器中使用自适应卡显示一些数据,我想在那里添加一个评论部分。我尝试过这种方式:
{
"type": "Action.ShowCard",
"title": "Comment",
"card": {
"type": "AdaptiveCard",
"body": [
{
"type": "Input.Text",
"id": "test",
"isMultiline": true,
"placeholder": "Enter your comment",
}
],
"actions": [
{
"type": "Action.Submit",
"id":"submit",
"title": "OK",
"data":
{
"test":""
}
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}
}
]
但是单击确定操作时没有得到任何输出。我们该怎么做?
解决方案
推荐阅读
- python - 如何将上述目录中的外部依赖项添加到包中
- next.js - 从自定义文档 Next.js 中的 getServerSideProps 访问数据
- image-processing - 如何从 Zoom 中提取视频数据?
- c# - 内存数据库注册 InstancePerDependency System.OutOfMemoryException
- sql - 如何在一个 SSRS 页面上有多个表,代表 SQL 中的一个值?
- ios - 如何创建独立的 Swift SDK
- reactjs - reactjs如何上传多个文件?
- angular - 使用 ngrx/store 从任何角度的组件中捕获事件
- ansible - json_query 过滤器有错误?
- audio - 使用服务器时音频不在帧中播放