-
- All Implemented Interfaces:
-
io.getstream.chat.android.client.events.HasMessage,io.getstream.chat.android.client.events.HasUnreadCounts,io.getstream.chat.android.client.events.HasWatcherCount,io.getstream.chat.android.client.events.UserEvent
public final class NewMessageEvent extends CidEvent implements UserEvent, HasMessage, HasWatcherCount, HasUnreadCounts
Triggered when a new message is added on a channel.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final DatecreatedAtprivate final Useruserprivate final Stringcidprivate final StringchannelTypeprivate final StringchannelIdprivate final Messagemessageprivate final IntegerwatcherCountprivate final IntegertotalUnreadCountprivate final IntegerunreadChannels
-
Method Summary
Modifier and Type Method Description StringgetType()DategetCreatedAt()UsergetUser()StringgetCid()StringgetChannelType()StringgetChannelId()MessagegetMessage()IntegergetWatcherCount()IntegergetTotalUnreadCount()IntegergetUnreadChannels()-
-
Method Detail
-
getCreatedAt
Date getCreatedAt()
-
getChannelType
String getChannelType()
-
getChannelId
String getChannelId()
-
getMessage
Message getMessage()
-
getWatcherCount
Integer getWatcherCount()
-
getTotalUnreadCount
Integer getTotalUnreadCount()
-
getUnreadChannels
Integer getUnreadChannels()
-
-
-
-