If you don't want to publish your Direct Line Secret (which lets anyone put your bot on their website), exchange that Secret for a Token as detailed in the Direct Line documentation and pass it to Direct Line as .
If you do choose to pass a Token instead of a Secret, you may need to handle scenarios where Web Chat has become disconnected from the bot and needs a fresh token to reconnect.
For more information on how to use 'event' activities, see The Backchannel.
If you wish to point to a specific URL for Direct Line (such as a region-specific endpoint), pass it to Direct Line as .
And because calls are confidential and anonymous we don’t and can’t offer a counselling service.
Whether you’re looking for answers, would like to solve a problem, or just want to let us know how we did, you’ll find many ways to contact us right here.
You can easily play with the most recent release using botchattest.
If you haven't already, start by registering your bot. Add a Web Chat channel to your registered bot, and paste in the supplied , either privately or publicly.
If you feel your change might benefit the community, please submit a pull request.Also note that the name and value of the event can be anything defined by the developer.It is simply a contract between the web page and the bot.For more details, see Adaptive Web Chat strives to use responsive design when possible.As part of this, Web Chat cards come in 3 sizes: narrow (216px), normal (320px) and wide (416px).