DeleteMessageEvent

data class DeleteMessageEvent(    val id: String,     val messageId: String,     val reason: String?,     val sendTime: Date,     val requestId: String? = null,     val attributes: Map<String, String>? = null)

Represents an event in which IVS informs clients that given message should be deleted from the room due to moderation.

Constructors

Link copied to clipboard
fun DeleteMessageEvent(    id: String,     messageId: String,     reason: String?,     sendTime: Date,     requestId: String? = null,     attributes: Map<String, String>? = null)

Properties

Link copied to clipboard
val attributes: Map<String, String>? = null

Key-value object for any additional data

Link copied to clipboard
val id: String

Server-generated unique identifier of this event

Link copied to clipboard
val messageId: String

Server-generated id of message to delete

Link copied to clipboard
val reason: String?

Reason for disconnecting the given user

Link copied to clipboard
val requestId: String? = null

Client-generated identifier of the request that triggered this event

Link copied to clipboard
val sendTime: Date

Date of performing action