Package io.getstream.chat.android.models
Class UnreadChannelByType
-
- All Implemented Interfaces:
public final class UnreadChannelByTypeRepresents the count of unread channels grouped by their type.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringchannelTypeprivate final IntegerchannelsCountprivate final IntegermessagesCount
-
Constructor Summary
Constructors Constructor Description UnreadChannelByType(String channelType, Integer channelsCount, Integer messagesCount)
-
Method Summary
Modifier and Type Method Description final StringgetChannelType()The type of the channel (e.g., "messaging", "livestream"). final IntegergetChannelsCount()The number of unread channels of this type. final IntegergetMessagesCount()The total number of unread messages in these channels. -
-
Method Detail
-
getChannelType
final String getChannelType()
The type of the channel (e.g., "messaging", "livestream").
-
getChannelsCount
final Integer getChannelsCount()
The number of unread channels of this type.
-
getMessagesCount
final Integer getMessagesCount()
The total number of unread messages in these channels.
-
-
-
-