setMessagesRead

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

handler

optional response handler callback for request success or failure.