Forum Discussion

galintrested's avatar
galintrested
Copper Contributor
May 09, 2021

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

Resources