Botframework-sdk: triggerAction method is undefined in botbuilder 3.4.4 (npm)

Created on 19 Dec 2016  路  3Comments  路  Source: microsoft/botframework-sdk

The updated examples for Node.js show the usage of the triggerAction method invoked on the SimpleDialog instance returned by bot.dialog. However, after running the code, I found that this method is undefined and throws a TypeError: bot.dialog(...).triggerAction is not a function.
Is this a change in the framework that hasn't been published to npm yet?

Most helpful comment

thanks for this. perhaps we should add this to the docs or readme?

All 3 comments

Hey! I'm using it but with version 3.5.0-rc8 of botbuilder. I think you should try updating the botbuilder version in order to get it.

triggerAction is available in RC versions of 3.5. It will be available in the official package when 3.5 is released. If you want to access the new functionality reference the RC.

thanks for this. perhaps we should add this to the docs or readme?

Was this page helpful?
0 / 5 - 0 ratings