Skip to content

BotFramework Web Chat Component #857

Description

@itg-assistant

Tim Larson asked 2017-05-23 11:08:19 UTC

Hi all,

Thank you for all the help on the last project.  We are currently in test on it.

I had some free time and was looking at being able at the BotFramework and in particular the WebChat control https://github.com/Microsoft/BotFramework-WebChat

I was wonder what you advice is for using this with Wisej.  I created a widget  and used this in the init

this.init = function() {

this.container.id = "bot";

BotChat.App({
directLine: { secret: "seceret" },
user: { id: "default-user" },
bot: { id: "SampleDirectLineWebSockets" },
resize: 'detect'
}, document.getElementById("bot"));

}

It brings up the chat control but it doesn't scroll or act like the regular control.

On the link above they say to use an iframe but I didn't know if that would work or not because of the javascript.

Also another question would it be possible to have a box/control that would host typescript applications?

Thanks,

Tim

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions