NotificationMessageNewEvent
data class NotificationMessageNewEvent(val type: String, val createdAt: Date, val rawCreatedAt: String, val cid: String, val channelType: String, val channelId: String, val channel: Channel, val message: Message, val totalUnreadCount: Int = 0, val unreadChannels: Int = 0) : CidEvent, HasChannel, HasMessage, HasUnreadCounts
Triggered when a message is added to a channel
Constructors
Properties
Inherited functions
Link copied to clipboard
Enriches the wrapped Message from the ChatEvent with the Channel ID.