currentUserUnreadCount

fun Channel.currentUserUnreadCount(currentUserId: <Error class: unknown class>? = ChatClient.instance().getCurrentUser()?.id): Int

Returns the number of unread messages in the channel for the current user.

Return

The number of unread messages in the channel for the current user.