incrementUnreadCount

fun Channel.incrementUnreadCount(currentUserId: String, lastMessageSeenDate: Date?)

Increments channel's unread for the specific user.

Parameters

currentUserId

The id of the user that should have the unread count incremented for this Channel.

lastMessageSeenDate

The Date of the last message that the SDK is aware of.