Forum Discussion
AytacBey
Feb 15, 2024Copper Contributor
Adaptive Card to send message to the end user by command / Bot Framework SDK - JavaScript - node.js
For MS Teams chatbot, by adaptive cards, I want the bot to send text message to the client when the client chooses the respective command. What İs want is opposite of Action.Submit - I want user to r...
Dinesh-MSFT
Microsoft
Feb 20, 2024Hi AytacBey - Could you please let us know if your issue is resolved?
AytacBey
Apr 23, 2024Copper Contributor
Thanks for support and sorry for the late reply ChetanSharma-msft Dinesh-MSFT.
I do a workaround for my issue. Basically I use "onAdaptiveCardInvoke" method outside the constructor for chatbot class and bind it within the constructor. By this way I was able to catch the events (button clicks).
Furthermore I use Action.Execute for the task, and identify the each button by the "verb" label of respective command.
My issue is resolved, thanks again for the support.
I do a workaround for my issue. Basically I use "onAdaptiveCardInvoke" method outside the constructor for chatbot class and bind it within the constructor. By this way I was able to catch the events (button clicks).
Furthermore I use Action.Execute for the task, and identify the each button by the "verb" label of respective command.
My issue is resolved, thanks again for the support.