'Webex Bot framework how to show user selected button text

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



Solution 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 AP01