Support

How can I mark a message as Read?

On iOS, the LYRMessage class has a markAsRead method.

BOOL success = [message markAsRead:&error];
if (success) {
NSLog(@'Message successfully marked as read');
} else {
NSLog(@'Failed to mark message as read with error %@', error);
}

On Android, the Message class has a markAsRead method.

message.markAsRead();
Have more questions? Submit a request