DisconnectUserEvent

data class DisconnectUserEvent(    val id: String,     val userId: 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 user is being disconnected from the room for moderation reasons.

Constructors

Link copied to clipboard
fun DisconnectUserEvent(    id: String,     userId: 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 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
Link copied to clipboard
val userId: String

Identifier of user to disconnect