Converting Adaptive Card to a Channel

Viewed 308

Microsoft release a new concept of Adaptive Cards. Microsoft Bot Framework implements Adaptive Cards in Botbuilder aside of HeroCard and other message type.

When I call Message.toMessage() on a botbuilder Message I get a JSON with content-type application/vnd.microsoft.card.adaptive

How can I convert a botbuilder Message (or an Adaptive Card JSON) to a JSON compatible with given channel (Facebook, Slack, ...) ?

Thanks !

0 Answers
Related