Adaptive Card support

Are there any plans to support Adaptive Cards (https://adaptivecards.io/) in chat API?

I believe these are currently being used with Mitel One CX which is based on the CloudLink API’s.

Did you have a specific type of scenario in mind? Given what I know about Adaptive Cards (admittedly just the basics), you could do something like send an adaptive card as a chat message, provided that your chat client is built to handle it properly.

When sending a message, you can do this:

POST https://chat.api.mitel.io/2017-09-01/conversations/{conversationId}/messages
{
"body": "{JSON FOR ADAPTIVE CARD}",
"contentType": "application/JSON",
"fallbackText": "Error with Adaptive Card",
}

Your chat client can take the JSON for the adaptive card that was passed in the body and display it accordingly. It would be useful for something like sending flight details, or weather info.

Adaptive cards are not used in chat with Mitel One CX, there are used for display templates.
There is a tentative plan to support this in chat but it is not committed at this point. We did some prototyping of it some time ago and there are some enhancements needed.

Unfortunately in the short term they will not be supported.

Adaptive cards are not used in chat with Mitel One CX, there are used for display templates.
There is a tentative plan to support this in chat but it is not committed at this point. We did some prototyping of it some time ago and there are some enhancements needed.

Unfortunately in the short term they will not be supported.

Thanks for that info, Tim. The limitation is in the client app though, correct? I don’t see any reason why the Chat API wouldn’t let you pass around the JSON for an adaptive card.

The main issue is the size of the messages required for adaptive cards. Unless you use the most basic of cards they will go above the size limit and won’t be sent.