Webex Bot framework how to show user selected button text

172 Views Asked by At

I'm using MS Teams bot and Webex teams bot, I have some Adaptive-Card buttons on my bot message and I want to know which Adaptive Card button is pressed, by wrting it as a user message. In MS Teams I can do that:

{
  "type": "Action.Submit",
  "title": "Click me for imBack",
  "data": {
    "msteams": {
        "type": "imBack",
        "value": "Text to reply in chat"
    }
  }
}

How can I do it in webex? I cannot find any documentaion talking about it

1

There are 1 best solutions below

0
On

You can make use of the Bot Builder Community Webex Adapter. There is also a sample that shows how to use it (C# linked).