Java 通过webchat在本地部署botbuilder聊天机器人的步骤

Java 通过webchat在本地部署botbuilder聊天机器人的步骤,java,botframework,web-chat,Java,Botframework,Web Chat,我想使用MicrosoftBotBuilder框架在java中构建一个机器人。我正在试用提供的样品。我想知道如何在webchat上部署使用botbuilder java框架开发的bot 我盲目地尝试了下面列出的html window.WebChat.renderWebChat({ directLine:window.WebChat.createDirectLine({ 秘密:'', 令牌:“”, 域名:'http://localhost:8080/directline', webSocket:

我想使用MicrosoftBotBuilder框架在java中构建一个机器人。我正在试用提供的样品。我想知道如何在webchat上部署使用botbuilder java框架开发的bot

我盲目地尝试了下面列出的html

window.WebChat.renderWebChat({
directLine:window.WebChat.createDirectLine({
秘密:'',
令牌:“”,
域名:'http://localhost:8080/directline',
webSocket:false//默认为true

})})
我发现javascript代码不完整。完整的代码是

window.WebChat.renderWebChat({
        directLine: window.WebChat.createDirectLine({
            secret: '',
            token: '',
            domain: 'http://localhost:7070/directline',
            webSocket: false // defaults to true
        }),
        styleOptions: {
            hideUploadButton: true
        }
    }, document.getElementById('webchat'))