-
- All Implemented Interfaces:
-
io.getstream.chat.android.client.events.HasChannel,io.getstream.chat.android.client.events.HasMessage,io.getstream.chat.android.client.events.HasUnreadCounts
public final class NotificationMessageNewEvent extends CidEvent implements HasChannel, HasMessage, HasUnreadCounts
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 Integerseq
-
Method Summary
Modifier and Type Method Description StringgetType()DategetCreatedAt()StringgetRawCreatedAt()StringgetCid()StringgetChannelType()StringgetChannelId()ChannelgetChannel()MessagegetMessage()IntegergetTotalUnreadCount()IntegergetUnreadChannels()-
-
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()
-
-
-
-