Hello,
I'm trying to send adaptive cards via the MS Teams Connector through SAP CAI Python connect.send_message method.
Unfortunately it doesn't work as I send the adaptiveCard JSON to the SAP Bot Builder and it doesn't understand the JSON AdaptiveCard Format hence it doesn't work.
Does somebody know how I can send the adaptive card json ?
as an example:
{
"contentType": "application/vnd.microsoft.card.hero",
"content": {
"title": "Seattle Center Monorail",
"subtitle": "Seattle Center Monorail",
"text": "The Seattle Center Monorail is an elevated train line between Seattle Center (near the Space Needle) and downtown Seattle. It was built for the 1962 World's Fair. Its original two trains, completed in 1961, are still in service.",
"images": [
{
"url":"https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Seattle_monorail01_2008-02-25.jpg/1024px-Seattle_monorail01_2008-02-25.jpg"
}
],
"buttons": [
{
"type": "openUrl",
"title": "Official website",
"value": "https://www.seattlemonorail.com"
},
{
"type": "openUrl",
"title": "Wikipeda page",
"value": "https://en.wikipedia.org/wiki/Seattle_Center_Monorail"
}
]
}
}
which would look like this: https://docs.microsoft.com/de-de/microsoftteams/platform/assets/images/cards/hero.png
thanks