Forum Discussion
galintrested
May 09, 2021Copper Contributor
Teams API
Hi,
I'm trying to use teams API for sending alerts to users and perform actions according to their feedbacks.
So far I was able to open a chat with the user and send an Adaptive Card message with buttons that do nothing.
I will be happy to understand how can make the button clicked trigger running of a script.
Below is my buttons data:
"buttons": [
{
"type": "messageBack",
"title": "Yes",
"text": "login",
"displayText": "login",
"value": "login"
},
{
"type": "messageBack",
"title": "No",
"text": "login",
"displayText": "login",
"value": "login"
},
Thanks for the helpers
- Mamatha-MSFT
Microsoft
Hi galintrested - Can you please explain briefly what exactly you want to do on submit button in adaptive card? Are you want to call a JavaScript function?
- Mamatha-MSFT
Microsoft
@galintrested - If your still facing the issue please explain your query briefly.