1

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.

parsley72
  • 8,449
  • 8
  • 65
  • 98
  • 1
    Is this the specification you're looking for? https://learn.microsoft.com/en-us/outlook/actionable-messages/message-card-reference – Kyle Delaney Jul 01 '19 at 18:02
  • 1
    What makes you think MS Teams doesn't support Adaptive Cards? https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/cards/cards-reference#adaptive-card – Kyle Delaney Jul 03 '19 at 20:13
  • Because of problems like this https://stackoverflow.com/questions/50753072/microsoft-teams-webhook-generating-400-for-adaptive-card/50753413 – parsley72 Jul 03 '19 at 20:22
  • Okay I had a feeling you just meant one specific part of MS Teams. So you're talking about webhooks. – Kyle Delaney Jul 03 '19 at 20:33
  • Your question is about MessageCards. Has that question been answered? I cannot see who upvoted my comment. – Kyle Delaney Jul 03 '19 at 20:34
  • You've provided the MessageCards spec, thanks for that - the upvote was me. But I'm still interested to know if anyone has done work on this before I start. – parsley72 Jul 03 '19 at 20:55

1 Answers1

1

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://learn.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/

Kyle Delaney
  • 11,616
  • 6
  • 39
  • 66