Increment Unread Count
fun Message.shouldIncrementUnreadCount( currentUserId: String, lastMessageAtDate: Date?, isChannelMuted: Boolean): Boolean
Content copied to clipboard
Function that parses if the unread count should be increased or not.
The id of the user that the unread count should be evaluated.
Message At Date
The Date of the last message the SDK is aware of. This is normally the ChannelUserRead.lastMessageSeenDate.
If the channel is muted for the current user or not.