- Typing Indicator
Typing indicators signify when other users’ are typing a message. It is a useful feature that enables users to communicate efficiently. It sets user’s expectations that there will be a new interaction, such as a message or comment in a chat app.
You can incorporate more functionality within your Typing Indicator such as:
Showing that multiple people are typing simultaneously
Showing who is typing a message if there are more than 2 users connected
Ably has simple yet powerful APIs to help you to build Typing Indicators, that enhance live chat experiences.
Channel is the unit of distribution of messages. Channels can be used to segment the data. For example, different boards, different rooms in audience engagement tools etc. Users or their devices can subscribe to a specific or multiple channels.
Presence allows you to automatically track who is present in a channel. This feature can be used to update user information such as whether they are typing or not. This will publish the update information to other clients.
You'll need to do the following to get started with adding a Typing Indicator to your chat application.
Implement the UI for the Typing Indicator
Create the logic to update the typing indicator status for each user