【发布时间】:2020-10-12 06:08:31
【问题描述】:
我试图在按下自适应卡中的按钮时发起呼叫(在 Microsoft 团队中) 我将 URL 添加为 callto:[useremail]
尽管当我在 chrome 的搜索栏中写下它时它可以工作,但是当按下自适应卡中的按钮时,它会在 chrome 页面上给我一个错误。 知道为什么会发生这种情况吗?
编辑: 这是我使用的示例卡:
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "Container",
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"size": "small",
"style": "person",
"type": "Image",
"url": "https://pbs.twimg.com/profile_images/3647943215/d7f12830b3c17a5a9e4afcc370e3a37e_400x400.jpeg",
"selectAction":{
"type": "Action.OpenUrl",
"url": "callto:rex@gmail.com"
}
}
]
}
]
}
]
}
]
}
【问题讨论】:
-
您使用的是开放网址操作吗?你能提供一张我们可以复制的样卡吗?
-
是的,我正在使用 Open-url Action .. 我会提供一个示例卡
标签: microsoft-teams adaptive-cards