Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Botframework Microsoft团队-ms团队机器人中的多选_Botframework_Microsoft Teams_Adaptive Cards - Fatal编程技术网

Botframework Microsoft团队-ms团队机器人中的多选

Botframework Microsoft团队-ms团队机器人中的多选,botframework,microsoft-teams,adaptive-cards,Botframework,Microsoft Teams,Adaptive Cards,如何通过自适应卡在下拉列表中实现multiselect,以填写包含要选择的员工姓名的表单 如果没有,还有哪些方法可以通过bot在Ms团队中实现multiselect 多选相似。检查并生成。 检查此自适应卡示例 { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version&

如何通过自适应卡在下拉列表中实现multiselect,以填写包含要选择的员工姓名的表单

如果没有,还有哪些方法可以通过bot在Ms团队中实现multiselect

多选相似。

检查并生成。 检查此自适应卡示例

{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"speak": "<s>Your  meeting about \"Adaptive Card design session\"<break strength='weak'/> is starting at ${formatDateTime(start.dateTime, 'HH:mm')}pm</s><s>Do you want to snooze <break strength='weak'/> or do you want to send a late notification to the attendees?</s>",
"body": [
    {
        "type": "TextBlock",
        "text": "${summary}",
        "size": "Large",
        "weight": "Bolder"
    },
    {
        "type": "TextBlock",
        "text": " ${location} ",
        "isSubtle": true
    },
    {
        "type": "TextBlock",
        "text": "${formatDateTime(start.dateTime, 'HH:mm')} - ${formatDateTime(end.dateTime, 'hh:mm')}",
        "isSubtle": true,
        "spacing": "None"
    },
    {
        "type": "TextBlock",
        "text": "Snooze for"
    },
    {
        "type": "Input.ChoiceSet",
        "id": "snooze",
        "value": "${reminders.overrides[0].minutes}",
        "choices": [
                 {
                "$data": "${reminders.overrides}",
                "title": "${hours} hours",
                "value": "${hours}"
            },
            {
                "$data": "${reminders.overrides}",
                "title": "${minutes} minutes",
                "value": "${minutes}"
            },
                 {
                "$data": "${reminders.overrides}",
                "title": "${seconds} seconds",
                "value": "${seconds}"
            }

        ],
        "isMultiSelect": true
    }
],
"actions": [
    {
        "type": "Action.Submit",
        "title": "Snooze",
        "data": {
            "x": "snooze"
        }
    },
    {
        "type": "Action.Submit",
        "title": "I'll be late",
        "data": {
            "x": "late"
        }
    }
]
{
“$schema”:”http://adaptivecards.io/schemas/adaptive-card.json",
“类型”:“AdaptiveCard”,
“版本”:“1.2”,
“发言”:“您关于\“自适应卡设计会话\”的会议将于${formatDateTime(start.dateTime,'HH:mm')}pmd开始。您想打盹还是想向与会者发送延迟通知?”,
“正文”:[
{
“类型”:“文本块”,
“文本”:“${summary}”,
“大小”:“大”,
“重量”:“更大胆”
},
{
“类型”:“文本块”,
“文本”:“${location}”,
“isSubtle”:正确
},
{
“类型”:“文本块”,
“文本:“${formatDateTime(start.dateTime,'HH:mm')}-${formatDateTime(end.dateTime,'HH:mm')}”,
“isSubtle”:没错,
“间距”:“无”
},
{
“类型”:“文本块”,
“文本”:“打盹”
},
{
“类型”:“Input.ChoiceSet”,
“id”:“打盹”,
“值”:“${提醒。重写[0]。分钟数}”,
“选择”:[
{
“$data”:“${members.overrides}”,
“标题”:“${hours}hours”,
“值”:“${hours}”
},
{
“$data”:“${members.overrides}”,
“标题:“${minutes}minutes”,
“值”:“${minutes}”
},
{
“$data”:“${members.overrides}”,
“标题:“${seconds}seconds”,
值“${seconds}”
}
],
“isMultiSelect”:真
}
],
“行动”:[
{
“类型”:“操作.提交”,
“标题”:“打盹”,
“数据”:{
“x”:“打盹”
}
},
{
“类型”:“操作.提交”,
“标题”:“我要迟到了”,
“数据”:{
“x”:“迟到”
}
}
]

}

在designer中,当您以团队形式发送卡片时,将显示复选框-它将显示下拉列表。它在桌面应用程序中显示下拉列表,但在android应用程序中不显示。你能在android应用程序中检查一下吗。谢谢你知道有没有一种方法可以让你在下拉列表中选择一个选项导致提交操作?