setAllMessagesRead

abstract fun setAllMessagesRead(listener: CallbackListener<Long>)

Mark all messages in conversation as read. This method set last read message index to last message index in conversation.

Parameters

listener

Status listener to report result of the operation that receives current number of unread messages.

Throws

If conversation isn't synchronized properly.