0
votes

Is there any example code or guidance for converting Adaptive Cards to MessageCards?

The Adaptive Card schema is specified here but I can't find a similar specification for MessageCards.

1
Is this the specification you're looking for? docs.microsoft.com/en-us/outlook/actionable-messages/…Kyle Delaney
Yes, until MS Teams supports Adaptive Cards.parsley72
What makes you think MS Teams doesn't support Adaptive Cards? docs.microsoft.com/en-us/microsoftteams/platform/concepts/cards/…Kyle Delaney
Because of problems like this stackoverflow.com/questions/50753072/…parsley72
Okay I had a feeling you just meant one specific part of MS Teams. So you're talking about webhooks.Kyle Delaney

1 Answers

1
votes

Is there any example code or guidance for converting Adaptive Cards to MessageCards?

No there is not, but depending on the specifics of your cards you should be able to work it out by examining the capabilities of both.

This document should help you use MessageCards, which are the legacy version of actionable messages: https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference

There's also a handy guide here: https://poszytek.eu/en/microsoft-en/microsoft-message-cards-the-ultimate-guide/