PushPreference

data class PushPreference(val level: PushPreferenceLevel?, val disabledUntil: Date?, val chatPreferences: ChatPreferences? = null)

Represents the push notification preference for a specific user or channel.

Parameters

level

Coarse chat level. Ignored when chatPreferences is set.

disabledUntil

Timestamp until which notifications are disabled. If null, notifications are not disabled.

chatPreferences

Per-category toggles. Takes precedence over level when set.

Constructors

Link copied to clipboard
constructor(level: PushPreferenceLevel?, disabledUntil: Date?, chatPreferences: ChatPreferences? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard