NewMessageEvent
data class NewMessageEvent(val type: String, val createdAt: Date, val rawCreatedAt: String, val user: User, val cid: String, val channelType: String, val channelId: String, val message: Message, val watcherCount: Int = 0, val totalUnreadCount: Int = 0, val unreadChannels: Int = 0) : CidEvent, UserEvent, HasMessage, HasWatcherCount, HasUnreadCounts
Triggered when a new message is added on a channel.