advanceLastReadMessageIndex

abstract fun advanceLastReadMessageIndex(lastReadMessageIndex: Long, listener: CallbackListener<Long>)

Increase user last read message index for the conversation. Index is ignored if it is smaller than user current index.

Parameters

lastReadMessageIndex

read message index

listener

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

Throws

If conversation isn't synchronized properly.