我们可以使用 Adaptive Cards 在 Microsoft Teams 聊天机器人中打开任何第三方 URL
Can we open any third party URL in Microsoft Teams chat bot using Adaptive Cards
我创建了一个包含 Microsoft Teams 产品详细信息的项目,它包含使用自适应卡片的聊天机器人,它通过导航显示数据 URL 但无法在团队中打开 URL 但打开在浏览器中
找到了解决方案,可以用这种方式完成
string encodedContext = HttpUtility.UrlEncode("{\"subEntityId\":}");
URL:
https://teams.microsoft.com/l/entity/{app_id}/{entity_id}?label=&context=encodedContext
同样使用 JS 进行了共享
https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links
我创建了一个包含 Microsoft Teams 产品详细信息的项目,它包含使用自适应卡片的聊天机器人,它通过导航显示数据 URL 但无法在团队中打开 URL 但打开在浏览器中
找到了解决方案,可以用这种方式完成
string encodedContext = HttpUtility.UrlEncode("{\"subEntityId\":}");
URL: https://teams.microsoft.com/l/entity/{app_id}/{entity_id}?label=&context=encodedContext
同样使用 JS 进行了共享 https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links