【发布时间】:2021-09-16 09:02:16
【问题描述】:
我正在编写一个反应 web 应用程序,它公开 AD-Online 联系人并提供在 Teams 应用程序中深度链接聊天、音频和视频通话的能力。我编写了以下函数 (based on the MS documentation) 来提供深层链接的 url。
const teamsDeepLink = (user, type) =>
`https://teams.microsoft.com/l/${type === "chat" ? "chat" : "call"}/0/0?users=${user}${type === "video" ? "&withvideo=true" : ""}`;
这个输出看起来像这样:
聊天
https://teams.microsoft.com/l/chat/0/0?users=<user's email>
音频
https://teams.microsoft.com/l/call/0/0?users=<user's email>
视频
https://teams.microsoft.com/l/call/0/0?users=<user's email>&withvideo=true
这适用于聊天,但失败并显示There is a problem with the link 消息用于音频和视频链接。有没有人让这个工作以及如何工作?
我已尽我所能彻底研究了这一点。我发现 a related but different SO question 与机器人有关,但我更进一步——我有文档中的 URL,但我遇到了一个意外错误。
【问题讨论】:
标签: microsoft-teams