MutedWord

data class MutedWord(val id: String? = null, val value: String, val targets: ReadOnlyList<MutedWordTarget>, val actorTarget: ActorTarget? = ActorTarget.All, val expiresAt: Timestamp? = null)

A word that the account owner has muted.

Parameters

value

The muted word itself.

targets

The intended targets of the muted word.

actorTarget

Groups of users to apply the muted word to. If undefined, applies to all users.

expiresAt

The date and time at which the muted word will expire and no longer be applied.

Constructors

Link copied to clipboard
constructor(id: String? = null, value: String, targets: ReadOnlyList<MutedWordTarget>, actorTarget: ActorTarget? = ActorTarget.All, expiresAt: Timestamp? = null)

Properties

Link copied to clipboard

Groups of users to apply the muted word to. If undefined, applies to all users.

Link copied to clipboard
val expiresAt: Timestamp? = null

The date and time at which the muted word will expire and no longer be applied.

Link copied to clipboard
val id: String? = null
Link copied to clipboard

The intended targets of the muted word.

Link copied to clipboard

The muted word itself.