Mark Message as Read
Last updated
Last updated
Marking a message as read is a crucial functionality to update the read count and provide an accurate representation of the user's interaction with messages. The SDK provides a method to manually mark a specific message as read.
This action should be taken when entering the chat room or a new message appears in the chatroom UI, and the user has viewed the message.
To maintain accuracy in the read count, it is recommended to mark only the latest message as read. This ensures that the counts reflect the user's most recent interaction with the chat.