添加一个 window.open 作为团队 webhook OpenURI 的一部分

问题描述 投票:0回答:1

我正在尝试在团队 webhook 操作中使用 window.open 添加弹出窗口,直到现在都没有成功。 非常感谢这里的任何帮助

{"@type": "MessageCard","@context": "http://schema.org/extensions","summary": "test","potentialAction": [{"@type": "OpenUri","name": "Add comment","targets": [{"os": "default","uri": "window.open('http://test.com', 'width=600, height=600')"}]}]}
javascript html microsoft-teams markup
1个回答
0
投票

在 teams webhook 操作中使用 window.open 添加弹出窗口是不可行的。

© www.soinside.com 2019 - 2024. All rights reserved.