Where do I attach this syntax- /intent, in the “newmessage”! Can you please correct my code and send the same back to me! Really grateful to you for reaching back! Appreciate your time, @dx111ge !
newmessage = {
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "Please select your choice!"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Button1" # Where to attach "/intent1" ?
},
{
"type": "Action.Submit",
"title": "Button2" # Where to attach "/intent2" ?
}
]
}
}
]
}
dispatcher.utter_message(json_message = newmessage)
return []