canMarkAsUnread
Determines whether messages in the channel can be marked as unread.
Messages can be marked as unread when:
Mark as unread functionality is enabled in the UI configuration
The user has the capability to receive read events in the channel
Return
true if messages can be marked as unread, false otherwise.
Parameters
markAsUnreadEnabled
Whether the mark as unread feature is enabled in the UI.
ownCapabilities
The set of capabilities the current user has in the channel.