NotificationPreferences

data class NotificationPreferences(val reports: Boolean, val account: Boolean, val labels: Boolean)

Push notification preferences by moderation notification category. These preferences do not hide in-app inbox activity. Each category defaults to enabled.

Parameters

reports

Notify about outcomes of reports filed by the account (reportResolved and reportReopened).

account

Notify about moderation actions against the account or its content, action reversals, appeal outcomes, and standing changes. Label application and removal are controlled by labels.

labels

Notify when labels are applied to or removed from the account or its content (labelApplied and labelRemoved actions).

Constructors

Link copied to clipboard
constructor(reports: Boolean, account: Boolean, labels: Boolean)

Properties

Link copied to clipboard

Notify about moderation actions against the account or its content, action reversals, appeal outcomes, and standing changes. Label application and removal are controlled by labels.

Link copied to clipboard

Notify when labels are applied to or removed from the account or its content (labelApplied and labelRemoved actions).

Link copied to clipboard

Notify about outcomes of reports filed by the account (reportResolved and reportReopened).