I am trying to show the "sendTypingIndicator" when the chatBot (Microsoft Bot Framework) is processing any requests.
I added sendTypingIndicator: true
and sendTyping: true
but still it does not show any animation, I searched in Microsoft documentation but i didn't find any specific.
This what I have:
window.WebChat.renderWebChat(
{
directLine: window.WebChat.createDirectLine({
token: conversationInfo.token,
}),
store: store,
styleOptions,
sendTypingIndicator: true,
sendTyping: true
},
document.getElementById("powerVAwebchat")
);
Is there a way to automatically have the typing animation for all requests or do I have to dynamically add it for each request? Could you guide me to a solution?
thanks