The following red text appears in the bot window when my bot returns a HeroCard ....
Here is the response JSON that causes the error ...
{
"type": "message",
"from": {
"id": "56800324",
"name": "Bot1"
},
"conversation": {
"id": "8a684db8",
"name": "Conv1"
},
"recipient": {
"id": "2c1c7fa3",
"name": "User1"
},
"text": "Did you want to file an expense?",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.hero",
"content": {
"buttons": [
{
"type": "imBack",
"value": "#!fileexpense",
"title": "File an expense"
}
],
"images": []
}
}
],
"channelData": {
"common": {
"inputType": "",
"isLastInBatch": true,
"displayText": false,
"buttons": [
{
"type": "cmd",
"value": "#!fileexpense",
"title": "File an expense"
}
],
"images": [],
"textMetaData": [],
"followUpMessageMetaData": []
},
"custom": {
"showSearchResults": true,
"searchQuery": "file expense"
}
}
}