I am developing a bot in Microsoft bot framework 4 and would like to introduce a delay and show the "typing" icon between two messages. I have two statements as follows:
await turnContext.SendActivityAsync(MessageFactory.Text(statement.Body), cancellationToken);
await turnContext.SendActivityAsync(MessageFactory.Carousel(GetCarousel(statement)), cancellationToken);
I would like to show the "typing" or "....." between these two messages.
How can this be done?