Mute

@Immutable
data class Mute(val user: User?, val target: User?, val createdAt: Date, val updatedAt: Date, val expires: Date?)

Model holding data about a user mute.

Parameters

user

The user who muted the target user.

target

The muted user.

createdAt

The date when the mute was created.

updatedAt

The date when the mute was last updated.

expires

The date when the mute expires.

Constructors

Link copied to clipboard
constructor(user: User?, target: User?, createdAt: Date, updatedAt: Date, expires: Date?)

Properties

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