customer-android-kotlin

//core/com.kustomer.core.listeners/KusChatListener/onUnreadCountChange

onUnreadCountChange

[androidJvm]
abstract fun onUnreadCountChange(conversationId: String, unreadCount: Int)

Called when unread count is updated for a conversation This method will be called whenever a new message is received for a conversation from both the agent or the user This method will also be called when a conversation is marked as read, and the unread count resets to Zero

Parameters

androidJvm

   
conversationId The ID of the conversation for which the unread count has changed
unreadCount The updated unread count