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, val channelLastMessageAt: Date?) : CidEvent, HasChannel, HasMessage, HasUnreadCounts

Triggered when a message is added to a channel

Constructors

Link copied to clipboard
constructor(type: String, createdAt: Date, rawCreatedAt: String, cid: String, channelType: String, channelId: String, channel: Channel, message: Message, totalUnreadCount: Int = 0, unreadChannels: Int = 0, channelLastMessageAt: Date?)

Properties

Link copied to clipboard
open override val channel: Channel
Link copied to clipboard
open override val channelId: String
Link copied to clipboard
open override val channelLastMessageAt: Date?
Link copied to clipboard
open override val channelType: String
Link copied to clipboard
open override val cid: String
Link copied to clipboard
open override val createdAt: Date
Link copied to clipboard
open override val message: Message
Link copied to clipboard
open override val rawCreatedAt: String
Link copied to clipboard
open override val totalUnreadCount: Int = 0
Link copied to clipboard
open override val type: String
Link copied to clipboard
open override val unreadChannels: Int = 0

Inherited properties

Link copied to clipboard
val seq: Int

Inherited functions

Link copied to clipboard