Hi All,
I am looking to add a button on my custom angular website that will refresh the PVA webchat, similar to the refresh button in "Test your bot" section of PVA. How do I do this?
I don't think so.
This one shows how to clear conversation data after the bot has been idle but it also uses react.
https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/04.api/h.clear-after-idle
@Kamrani thanks ! Do you have any specific example JavaScript code that isn't react framework for this? Would be greatly appreciated!
Hi jdriscollpro-
You would need to customize the Web Chat control to provide this behavior. It is open source and can be found here: https://github.com/Microsoft/BotFramework-WebChat.
Additional links:
https://docs.microsoft.com/en-us/power-virtual-agents/customize-default-canvas
Web Chat samples:
https://github.com/microsoft/BotFramework-WebChat/tree/main/samples#readme