NotificationMarkReadEvent
data class NotificationMarkReadEvent(val type: String, val createdAt: Date, val rawCreatedAt: String, val user: User, val cid: String, val channelType: String, val channelId: String, val totalUnreadCount: Int = 0, val unreadChannels: Int = 0, val channelLastMessageAt: Date?, val threadId: String? = null, val thread: ThreadInfo? = null, val unreadThreads: Int? = null, val unreadThreadMessages: Int? = null) : CidEvent, UserEvent, HasUnreadCounts
Triggered when the count of unread messages for a particular channel changes
Constructors
Link copied to clipboard
constructor(type: String, createdAt: Date, rawCreatedAt: String, user: User, cid: String, channelType: String, channelId: String, totalUnreadCount: Int = 0, unreadChannels: Int = 0, channelLastMessageAt: Date?, threadId: String? = null, thread: ThreadInfo? = null, unreadThreads: Int? = null, unreadThreadMessages: Int? = null)