'How can I make it look like a bot is typing in slack?

My slack bot has a slight built-in delay (1.2 seconds) in its responses, but I'd like the user to know that it is intending to respond. When a user is typing, a "user is typing..." indicator shows on the screen. I'd like to trigger that indicator for my slack bot. How can I do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source