KustomerCore.markRead()

Mark a conversation as read

👍

First, initialize chat

You must initialize with KustomerCore.init() before you can execute any additional Core SDK methods

Examples

// mark a conversation as "read"
KustomerCore.markRead({
  conversationId: 'SOME_ID',
  messageIds: [
    'MESSAGE_ID1',
    'MESSAGE_ID2'
});

Syntax

KustomerCore.markRead(options)
ParameterTypeDescription
optionsObjectAn object containing the conversationId and messageIds properties.

conversationId is the ID of the conversation

messageIds is an array of messages you would like to mark read