mark As Read
abstract fun markAsRead( spaceId: String, messageId: String? = null, handler: CompletionHandler<Void>? = null)
Content copied to clipboard
Mark messages sent before the specified message in the space as read, including the specified message.
Since
2.3.0
Parameters
space Id
the id of space.
message Id
the id of a message. If this value is null, then mark all messages in the space read.
handler
an instance of CompletionHandler (OPTIONAL).