UserBannedEvent
data class UserBannedEvent(@Json(name = "channel_id") val channelId: String, @Json(name = "channel_type") val channelType: String, @Json(name = "cid") val cid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "created_by") val createdBy: UserObject, @Json(name = "shadow") val shadow: Boolean, @Json(name = "type") val type: String = "user.banned", @Json(name = "expiration") val expiration: OffsetDateTime? = null, @Json(name = "reason") val reason: String? = null, @Json(name = "team") val team: String? = null, @Json(name = "user") val user: UserObject? = null) : VideoEvent, WSClientEvent
Parameters
channelId
channelType
cid
createdAt
createdBy
shadow
type
expiration
reason
team
user
Constructors
Link copied to clipboard
constructor(@Json(name = "channel_id") channelId: String, @Json(name = "channel_type") channelType: String, @Json(name = "cid") cid: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "created_by") createdBy: UserObject, @Json(name = "shadow") shadow: Boolean, @Json(name = "type") type: String = "user.banned", @Json(name = "expiration") expiration: OffsetDateTime? = null, @Json(name = "reason") reason: String? = null, @Json(name = "team") team: String? = null, @Json(name = "user") user: UserObject? = null)