customer-android-kotlin

//core/com.kustomer.core.providers/KusChatProvider/markRead

markRead

[androidJvm]
abstract suspend fun markRead(conversationId: String, messageIds: List<String>, satisfactionId: String = "")

Marks a conversation as read for current timestamp. Any message received for this conversation after this will be treated as unread, until marked read again This function should be called, whenever the user closes the chat view for a conversation

Note: This is a suspend function and should be called from Kotlin Coroutines

Parameters

androidJvm

   
conversationId which should be marked as read
messageIds specific message IDs to be marked as read
satisfactionId satisfaction survey id for a conversation to be marked as read