Overview

Typing indicators show when a user is composing a message. The SDK provides conversation-scoped typing with automatic expiration.

Sending Typing Indicators

Start Typing

Stop Typing

Receiving Typing Indicators

Typing Event

Automatic Expiration

Typing indicators automatically expire after 5 seconds. You don’t need to manually stop them:
To keep the typing indicator alive during continuous typing, call startTyping() periodically:

Complete Input Handler

React Integration

Display Typing Users

Best Practices

Debounce Input

Don’t send typing_start on every keystroke. Debounce to reduce traffic.

Stop on Send

Always call stopTyping() before sending a message.

Auto-stop

Use a timeout to stop typing after inactivity (2-3 seconds).

Visual Feedback

Show a subtle animation like ”…” to indicate typing.

Next Steps

Receipts

Read receipts

Presence

Online/offline status

Messaging

Sending messages

Examples

Complete examples