botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Request: basics-naturalLanguage/app.js example for BotConnectorBot

Open FedericoElles opened this issue 10 years ago • 2 comments

At https://github.com/Microsoft/BotBuilder/blob/master/Node/examples/basics-naturalLanguage/app.js there is a nice example how to use cortanaBot.beginDialog to make to bot say something by an external event, not by replying to a chat message I tried this

bot.send(msg);
builder.DialogAction.send(msg);
slackBot.bot.say(msg);

but could not make it work. Can you help with an example?

FedericoElles avatar Apr 06 '16 21:04 FedericoElles

you should be able to say SlackBot.beginDialog(). Let me try and see if I can make it work.

Stevenic avatar Apr 06 '16 22:04 Stevenic

This should be working as of v0.7.2. I just checked in a fix and published a new version. For an example look at the new TestBot sample.

Stevenic avatar Apr 08 '16 06:04 Stevenic