BannedUser

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

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.