Я создал бота QnA и интегрировал с ним кортану.Я могу видеть карты героев на канале Кортана, но не адаптивные карты.Хотя я получаю вложение в моей переменной ответа в своем коде, карта не отображается.Кроме того, свойство talk адаптивной карты устарело.
Ниже приведен ответ json, который я получаю в качестве отладочной информации
{
"botId": "ValoremReplyCortanaBot",
"botRequest": {
"type": "message",
"id": "ru2O3ASCqo",
"timestamp": "2019-05-28T12:28:38.6194349Z",
"serviceUrl": "https://CortanaBFChannelEastUs.azurewebsites.net/",
"channelId": "cortana",
"from": {
"id": "6E45EE54844A79A85857DE2CEF10B9223A16AE6ACC2360DC007744F9CA7377E5"
},
"conversation": {
"id": "f002bf89-2d89-4e41-a5b6-bcdfa4e35cc3"
},
"recipient": {
"id": "valoremreplycortanabot"
},
"locale": "en-US",
"text": "guide",
"entities": [
{
"type": "Intent",
"name": "None",
"entities": []
},
{
"type": "AuthorizationToken",
"token": "##",
"status": 0
},
{
"type": "UserInfo",
"current_location": {
"StartTime": "2019-05-28T12:28:38.0673147Z",
"EndTime": null,
"Hub": {
"Id": null,
"Type": "Other",
"Name": null,
"Latitude": 10.0126075744629,
"Longitude": 76.3658599853516,
"Address": null
},
"VenueName": null,
"Away": false
},
"name": {
"GivenName": "##",
"FamilyName": "##"
},
"email": "##@outlook.com"
},
{
"type": "DeviceInfo",
"supportsDisplay": "true"
}
],
"channelData": {
"skillId": "cc3ef598-4f4f-444f-bd20-87a211581607",
"skillProductId": "188779dd-2894-4cb3-b93f-b99955039ead",
"isDebug": true
}
},
"botResponse": {
"type": "message",
"timestamp": "2019-05-28T12:28:51.306281Z",
"serviceUrl": "https://CortanaBFChannelEastUs.azurewebsites.net/",
"channelId": "cortana",
"from": {
"id": "valoremreplycortanabot"
},
"conversation": {
"id": "f002bf89-2d89-4e41-a5b6-bcdfa4e35cc3"
},
"recipient": {
"id": "6E45EE54844A79A85857DE2CEF10B9223A16AE6ACC2360DC007744F9CA7377E5"
},
"locale": "en-US",
"text": "",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"size": "large",
"weight": "bolder"
},
{
"type": "Image",
"size": "stretch",
"url": "##",
"width": "100px",
"height": "100px"
}
],
"actions": [
{
"type": "Action.OpenUrl",
"url": "##",
"title": "Guide Poster",
"speak": "Guide Poster"
}
]
}
}
],
"entities": [],
"replyToId": "ru2O3ASCqo"
}
}