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)

Properties

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 rawCreatedAt: String
Link copied to clipboard
val thread: ThreadInfo? = null
Link copied to clipboard
val threadId: String? = null
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
Link copied to clipboard
Link copied to clipboard
val unreadThreads: Int? = null
Link copied to clipboard
open override val user: User

Inherited properties

Link copied to clipboard
val seq: Int

Inherited functions

Link copied to clipboard