FilterUpdate

@Serializable
data class FilterUpdate(val phrase: String, val context: List<FilterContext>, val isIrreversible: Boolean?, val wholeWord: Boolean?, val expiresInSec: Long?)

Object used to update an existing Filter.

Constructors

Link copied to clipboard
constructor(phrase: String, context: List<FilterContext>, isIrreversible: Boolean?, wholeWord: Boolean?, expiresInSec: Long?)

Properties

Link copied to clipboard

Contexts to filter in. At least one context must be specified.

Link copied to clipboard

Number of seconds from now the filter should expire.

Link copied to clipboard

Should the server irreversibly drop matching entities from home and notifications?

Link copied to clipboard

Text to be filtered.

Link copied to clipboard

Consider word boundaries?