ShadowBanUser

data class ShadowBanUser(val user: User, val reason: String? = null, val timeout: Int? = null) : MessageListViewModel.Event

When the user shadow bans another user.

Parameters

user

The user to be blocked.

reason

The reason for shadow banning the user.

timeout

The time until the shadow ban is automatically removed for the given user, expressed in minutes. A null value represent an indefinite ban.

Constructors

Link copied to clipboard
constructor(user: User, reason: String? = null, timeout: Int? = null)

Properties

Link copied to clipboard
val reason: String? = null
Link copied to clipboard
val timeout: Int? = null
Link copied to clipboard
val user: User