setMessagesRead

suspend fun MessageStream.setMessagesRead(messages: List<Message>)

Marks all given messages as read and triggers an update broadcast to the unread messages count.

Parameters

messages

a List of Messages to mark as read

Throws

Thrown if there is an error processing the request.