ryanvolum / backChannelBot

This is a basic bot that uses the DirectLine backchannel to send and receive event messages to an instance of WebChat
20 stars 8 forks source link

Couldn't send #3

Closed ghost closed 6 years ago

ghost commented 7 years ago

Hi,

In connectorSetup.js updated the bot details and on the webchat included the directline secret as below.

var botConnection = new BotChat.DirectLine({ secret: params['r3_PAu9yJfU.cwA.elo.90M1t3ziNbLz1GokmeQ7nFv0iXL0zrRyEh8bRz2wYHI'], token: params['t'], domain: params['domain'], webSocket: params['webSocket'] && params['webSocket'] === "true" // defaults to true

Still unable to send messages. The bot test on dev.botframework.com passed.

Regards, Ram