为什么Teams Mobile App“ HttpPOST”操作在卡上不起作用,在桌面/ Web客户端上可以正常工作

时间:2019-01-31 01:13:26

标签: microsoft-teams

我正在创建一个具有两个按钮的操作卡,一个按钮用于打开视频的超链接,另一个按钮用于触发Webhook。它们都可以在桌面客户端和Web客户端上完美运行,但是在移动客户端(经过Apple和Android测试)上,webhook / HttpPOST按钮没有任何作用。没有错误或任何指示。

为了隐私起见,我更改了Webhook URL和媒体。

{
    "@context": "https://schema.org/extensions",
    "@type": "ActionCard",
    "themeColor": "ff0000",
    "title": "Motion Alert - North Lot",
    "summary": "Motion Alert - North Lot",
    "text": "![NorthLotImage](http://aka.ms/Fo983c)",
    "potentialAction": [
    {
        "@type": "OpenUri",
        "name": "View Video",
        "targets":
        [
            {
            "os":  "default",
            "uri":  "https://www.w3schools.com/html/mov_bbb.mp4"
            }
        ] 
    },
    {
        "@type": "HttpPOST",
        "name": "Trigger Siren",
        "target": "https://webhooktest.com/api/"
    },    
    ]
}

ScreenShot

Working on Windows Client

Not Working on iPhone - Video

0 个答案:

没有答案