How to have bot process messageback payload

Copper Contributor

Looking for a node.js example of a bot processing the payload of a messageback card action.
The card appears valid and I see the displayText echoed back when I press the button.

And I get a valid 200 code back.


But, can't find an example of processing the bot processing the payload when the button is clicked.


"type": "Action.Submit",
"title": "Click me for messageBack",
"data": {
"msteams": {
"type": "messageBack",
"displayText": "I clicked this button",
"text": "text to bots",
"value": "{\"bfKey\": \"bfVal\", \"conflictKey\": \"from value\"}"

0 Replies