BannedUser

@Immutable
data class BannedUser(    val user: User,     val bannedBy: User?,     val channel: Channel?,     val createdAt: Date?,     val expires: Date?,     val shadow: Boolean,     val reason: String?)

Model holding data related to a banned user.

Parameters

user

The banned user.

bannedBy

The user who banned the user.

channel

The channel where the user was banned.

createdAt

The date when the user was banned.

expires

The date when the ban expires.

shadow

If the ban is shadow.

reason

The reason for the ban.

Constructors

Link copied to clipboard
constructor(user: User, bannedBy: User?, channel: Channel?, createdAt: Date?, expires: Date?, shadow: Boolean, reason: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val user: User