You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
I know in slackBots, that on a postBack, you can handle it with controller.on('postback_text', doThis) but how do i create a postBack in the botFramework such that the controller runs doThis.
As far as I know, any postBack on Bot Framework is returned as a user message so you would need to use controller.hears('postback_text', 'message_received', doThis) which is problematic as it will also hear a user simply typing in 'postback_text'.
Hey,
I know in slackBots, that on a postBack, you can handle it with
controller.on('postback_text', doThis)
but how do i create a postBack in the botFramework such that the controller runs doThis.As far as I know, any postBack on Bot Framework is returned as a user message so you would need to use
controller.hears('postback_text', 'message_received', doThis)
which is problematic as it will also hear a user simply typing in 'postback_text'.https://stackoverflow.com/questions/44571198/bot-framework-event-for-postbacks says that we can use triggerActions as a work-around, but how does this work within the botkit framework?
Thanks
The text was updated successfully, but these errors were encountered: