NotificationChannelPartialUpdatedEvent

data class NotificationChannelPartialUpdatedEvent(val type: String, val createdAt: Date, val rawCreatedAt: String, val cid: String, val channelType: String, val channelId: String, val channel: Channel) : CidEvent, HasChannel

Triggered when a channel is partially updated, for members of the channel who are not watching it. Members who are watching it receive ChannelUpdatedEvent instead.

The channel carries only part of the channel data: Channel.id, Channel.type, Channel.name, Channel.image, Channel.frozen, Channel.disabled, Channel.team, Channel.createdAt, Channel.updatedAt and Channel.extraData (the complete custom data, plus the disabled flag). Other fields, such as members, messages, reads, config and Channel.lastMessageAt, keep their default values.

Constructors

Link copied to clipboard
constructor(type: String, createdAt: Date, rawCreatedAt: String, cid: String, channelType: String, channelId: String, channel: Channel)

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 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 seq: Int
Link copied to clipboard
open override val type: String

Functions

Link copied to clipboard

Enriches the wrapped Message from the ChatEvent with the Channel ID.