Real-time typing status with JavaScript Data API

You can now use the JavaScript Data API to subscribe to typing indicators

Typing indicators are time-based. That means that if a user hasn’t typed anything for 10 seconds, they automatically count as having stopped typing. This ensures that typing indicators only show up when a user is actually typing, not when they accidentally pressed a key and left the tab open.