添加一个`window.open`作为团队Webhook OpenURI的一部分。

huangapple go评论64阅读模式
英文:

Add a window.open as part of teams webhook OpenURI

问题

我正在尝试在 Teams 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')" }] }]
英文:

Am trying to add a popup using window.open in teams webhook action, no success till now.
Any help here is much appreciated

{"@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')"}]}]}

答案1

得分: 0

不适合使用window.open在Teams Webhook操作中添加弹出窗口。

英文:

It's not feasible to add a popup using window.open in teams webhook action.

huangapple
  • 本文由 发表于 2023年3月1日 14:06:15
  • 转载请务必保留本文链接:https://go.coder-hub.com/75600088.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定