ImBack not working in MSTeams

Abhinand 46 Reputation points
2020-08-18T19:09:57.117+00:00

My Adaptive card have multiple Submit buttons and one of them is:
{
"type": "Action.Submit",
"title": "Troubleshoot WiFi",
"data": "Troubleshoot WiFi"
}

This works file with webchat and emulator but not working in MS Teams

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
756 questions
0 comments No comments
{count} vote

Accepted answer
  1. Destin Joy 1,866 Reputation points
    2020-08-19T03:00:43.287+00:00

    Please use below code
    {

                  "type": "Action.Submit",
    
                  "title": "Troubleshoot WiFi",
    
                  "data": {
    
                    "msteams": {
    
                      "type": "imBack",
    
                      "value": "Troubleshoot WiFi"
    
                    }
    
                  }
    
                }
    
    4 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful