为 SMS 通道支持设计自适应卡支持

Design Adaptive Card Support for SMS Channel Support

我计划设计一个在多个渠道上运行的 Microsoft Bot 应用程序,并且 bot 将使用包含图像和其他丰富卡片的自适应卡片。

问题是我们如何处理或设计具有自适应卡片并支持 SMS 通道的 Bot 应用程序,或者默认情况下是否在 SMS 中呈现和支持自适应卡片。 如果有人可以使用 DotNot Core SDK 指向它上面的任何示例,那也很棒。

每个bot通道都提供渲染UI的客户端应用程序,自适应卡片能否渲染完全取决于客户端应用程序。您可以看到 here that SMS is not among the supported platforms, which makes sense because SMS messages don't use cards at all, although there seems to be something called Rich Communication Services in developer preview. However, you can always create your own mobile app that renders Adaptive Cards. There is an Android SDK and an iOS SDK. Your app could communicate with your bot over Direct Line, or you could even make an app that communicates over SMS 并将某些短信呈现为自适应卡片。

这可能比你想做的更难,所以你可能只想坚持发送图片。如果您想了解有关自适应卡片的更多信息,请查看我最新的 blog post.