set Received Status Info
Message received status info.
public final Unit setReceivedStatusInfo(MessageReceivedStatusInfo receivedStatusInfo, OperationHandler<Boolean> handler)
Sets the received status of this message.
Updates the message's received status in the local database.
val status = ReceivedStatus()
status.setRead()
status.setListened()
message.setReceivedStatusInfo(status) { success, error ->
if (error == null) {
// Status updated
}
}Content copied to clipboard
Parameters
status Info
The new received status to set
handler
Callback returning true on success