How to have bot process messageback payload

%3CLINGO-SUB%20id%3D%22lingo-sub-2154292%22%20slang%3D%22en-US%22%3EHow%20to%20have%20bot%20process%20messageback%20payload%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2154292%22%20slang%3D%22en-US%22%3E%3CP%3ELooking%20for%20a%20node.js%20example%20of%20a%20bot%20processing%20the%20payload%20of%20a%20messageback%20card%20action.%3CBR%20%2F%3EThe%20card%20appears%20valid%20and%20I%20see%20the%20displayText%20echoed%20back%20when%20I%20press%20the%20button.%3C%2FP%3E%3CP%3EAnd%20I%20get%20a%20valid%20200%20code%20back.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%2C%20can't%20find%20an%20example%20of%20processing%20the%20bot%20processing%20the%20payload%20when%20the%20button%20is%20clicked.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%7B%3CBR%20%2F%3E%22type%22%3A%20%22Action.Submit%22%2C%3CBR%20%2F%3E%22title%22%3A%20%22Click%20me%20for%20messageBack%22%2C%3CBR%20%2F%3E%22data%22%3A%20%7B%3CBR%20%2F%3E%22msteams%22%3A%20%7B%3CBR%20%2F%3E%22type%22%3A%20%22messageBack%22%2C%3CBR%20%2F%3E%22displayText%22%3A%20%22I%20clicked%20this%20button%22%2C%3CBR%20%2F%3E%22text%22%3A%20%22text%20to%20bots%22%2C%3CBR%20%2F%3E%22value%22%3A%20%22%7B%5C%22bfKey%5C%22%3A%20%5C%22bfVal%5C%22%2C%20%5C%22conflictKey%5C%22%3A%20%5C%22from%20value%5C%22%7D%22%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2154292%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Edeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New 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