setAllMessagesUnread

abstract fun setAllMessagesUnread(listener: CallbackListener<Long>)

Mark all messages in conversation as unread. This method set last read message index before the first 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.