-
- All Implemented Interfaces:
-
io.getstream.chat.android.client.events.HasChannel,io.getstream.chat.android.client.events.HasGroupedUnreadChannels,io.getstream.chat.android.client.events.HasMessage,io.getstream.chat.android.client.events.HasUnreadCounts
public final class NotificationMessageNewEvent extends CidEvent implements HasChannel, HasMessage, HasUnreadCounts, HasGroupedUnreadChannels
Triggered when a message is added to a channel
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final DatecreatedAtprivate final StringrawCreatedAtprivate final Stringcidprivate final StringchannelTypeprivate final StringchannelIdprivate final Channelchannelprivate final Messagemessageprivate final IntegertotalUnreadCountprivate final IntegerunreadChannelsprivate final Map<String, Integer>groupedUnreadChannelsprivate final Integerseq
-
Method Summary
Modifier and Type Method Description StringgetType()DategetCreatedAt()StringgetRawCreatedAt()StringgetCid()StringgetChannelType()StringgetChannelId()ChannelgetChannel()MessagegetMessage()IntegergetTotalUnreadCount()IntegergetUnreadChannels()Map<String, Integer>getGroupedUnreadChannels()final IntegergetSeq()-
-
Method Detail
-
getCreatedAt
Date getCreatedAt()
-
getRawCreatedAt
String getRawCreatedAt()
-
getChannelType
String getChannelType()
-
getChannelId
String getChannelId()
-
getChannel
Channel getChannel()
-
getMessage
Message getMessage()
-
getTotalUnreadCount
Integer getTotalUnreadCount()
-
getUnreadChannels
Integer getUnreadChannels()
-
getGroupedUnreadChannels
Map<String, Integer> getGroupedUnreadChannels()
-
-
-
-