ScheduledMessageSentEvent

data class ScheduledMessageSentEvent(val type: String, val createdAt: Date, val rawCreatedAt: String?, val cid: String, val channelType: String, val channelId: String, val scheduledMessage: ScheduledMessage, val messageId: String) : CidEvent

Triggered when the server sends a scheduled message of the current user to the channel. Only the current user's connections receive it. The sent message arrives with a NewMessageEvent, before or after this event.

Constructors

Link copied to clipboard
constructor(type: String, createdAt: Date, rawCreatedAt: String?, cid: String, channelType: String, channelId: String, scheduledMessage: ScheduledMessage, messageId: String)

Properties

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

The ID of the message the server created when it sent the scheduled message.

Link copied to clipboard
open override val rawCreatedAt: String?
Link copied to clipboard

The scheduled message that was sent.

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.