botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

How to show loading animation in web control channel.

Open amolghanwat2020 opened this issue 9 years ago • 5 comments

How to show loading animation image until response get from chatbot when user send request to chatbot in web control channel using direct line api? Which java script event used to handle request and response to set loading animation?

For example when user type and send "Hello" to bot in web control then start loading image below "Hello" in web control and stop loading image when get response from chatbot and replace image with response.

amolghanwat2020 avatar Mar 02 '17 14:03 amolghanwat2020

@danmarshall @eanders-MS do you know?

willportnoy avatar Mar 02 '17 19:03 willportnoy

Hi @amolghanwat2020 do you mean the "is typing" feature? see https://github.com/Microsoft/BotBuilder/issues/164

danmarshall avatar Mar 02 '17 19:03 danmarshall

Hi @amolghanwat2020 , please see the "typing" feature in my previous comment. I am going to close this issue for now, please reopen if your issue is not resolved.

danmarshall avatar Apr 11 '17 17:04 danmarshall

@danmarshall typing activity is not working in Web chat channel any alternative?

sridharbm1991 avatar Jul 28 '17 10:07 sridharbm1991

Hi @sridharbm1991 the typing feature requires websockets, which are not turned on in the WebChat channel. However, you can enable them if you host your own WebChat page.

danmarshall avatar Jul 28 '17 18:07 danmarshall