Dear Community,
I'm currently working on developing a bot in Copilot and I'm not very familiar with the new version of PVA. I need some assistance with the adaptive card integration with it.
My objective is to send an adaptive card response with only a button on it, and then capture the response value when the user clicks the button. Can anyone provide guidance on how to achieve this?
For example:
cardPayload =
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"title": "Yes",
"id": "Yes",
"data":"Yes"
},
{
"type": "Action.Submit",
"title": "No",
"id": "No",
"data":"No"
}
]
}
]
}
,

Thank you for assistance in advance.