How to make rasa send typing indicator in rasa webchat

I have a custom action which takes long time to execute, when this is executing i want to show to the user a typing indicator in rasa webchat. how do i do it?

I think this would be done easiest through the front end of your program. If rasa is taking a long time to respond or you anticipate it will take a long time to respond you can display the typing indicator while rasa generates its response.

I’m new to Rasa but this could perhaps be achieved with a typing boolean or set/unset typing indicator at the start and end of the action

@Tejeshwara how much time its taking? and what is current your front-end?

its taking more than 20 secs, and my front-end is Rasa Webchat (botfront)