Wednesday, 31 May 2017

Botbuilder route action message to correct dialog

I am building a bot with the botbuilder framework using node, and I am now trying to use the CardAction.dialogAction:

builder.CardAction.dialogAction(session, 'help', 'topic:mytopic', 'Click me')

It generates a message that looks like this:

action?help=topic:mytopic

Now I need to route that action to the correct dialog to handle it, but I can't figure out where and how to do that. Seeing as this is a builtin feature, I figured there should be easy ways of doing this already?

Appreciate the help.



via Vincent Ketelaars

No comments:

Post a Comment