customer-android-kotlin

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

markRead

[androidJvm]
abstract suspend fun markRead(conversationId: String, messageIds: List<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