HasGroupedUnreadChannels

sealed interface HasGroupedUnreadChannels

Interface that marks a ChatEvent as having grouped unread channel counts. The groupedUnreadChannels map contains per-group unread channel counts keyed by the backend-provided group identifier (e.g. {"direct": 2, "support": 5}).

The list of events which contain grouped unread channels:

  • message.new

  • notification.message_new

  • notification.mark_read

  • notification.mark_unread

  • notification.channel_deleted

  • notification.channel_truncated

Inheritors

Properties

Link copied to clipboard