BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

Sample: Ending a conversation

Open eskivelevolution opened this issue 7 years ago • 4 comments

Hello!

I'm using the new version of BotFramework-WebChat, it's in any time call the end conversation automatically?

Because some customers can't keep a conversation with the same conversationId after some time.

It's happen to me also, and I need to generate another conversationId.

Error 404 image

Thank you.

eskivelevolution avatar Jan 08 '19 12:01 eskivelevolution

Hi @eskivelevolution, the ability to end the conversation is currently not available in DirectLineJS, and we want to implement this feature in our upcoming release.

The issue can be tracked here: https://github.com/Microsoft/BotFramework-DirectLineJS/issues/124.

I will keep this issue open for tracking the DirectLineJS issue and the creation of a Web Chat Sample that shows how to implement communication to DL.

corinagum avatar Jan 08 '19 17:01 corinagum

With the previous webchat it was possible to dispose the webchat and recreate it on the page and that would generate a new conversationId, is this not possible with the new webchat? We need to be able to start a new conversation every time the webchat control is instantiated without having to refresh the page.

gabog avatar Jan 29 '19 02:01 gabog

@gabog "With the previous webchat it was possible to dispose the webchat and recreate it on the page and that would generate a new conversationId, is this not possible with the new webchat? We need to be able to start a new conversation every time the webchat control is instantiated without having to refresh the page." Do you happen to have any pointer or sample code that address the webchat disposal and recreation on Botframework V3? Thx!

Amintasn avatar May 05 '19 18:05 Amintasn

Closing as we have no plans to implement this sample. For the DirectLineJS issue, please see https://github.com/microsoft/BotFramework-DirectLineJS/issues/124

cwhitten avatar Feb 26 '21 01:02 cwhitten