How can I execute JS code from bot builder action
Posted Dec 13, 2023
Hi,
I have integrated a web widget with bot in a webpage which is opened in a webview in my mobile app. I have added Webview JS messagehandlere to setup a JS messaging bridge to communicate with webview. I am able to show/hide the bot bubble from mobile app using JS code.
Now I want to execute the JS command from a bot action. I do not see any option to execute the JS code from the action. I only see API execution and that API is also a REST api, which does not pass through browser.
Can anyone know how can I execute the JS code or simply communicate to webview from a bot action.
Note: I am using messaging -> bot builder to create a bot.
Thanks
0
0
0 comments
Sign in to leave a comment.