PushPreference
data class PushPreference(val level: PushPreferenceLevel?, val disabledUntil: Date?, val chatPreferences: ChatPreferences? = null, val schedule: PushSchedule? = 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.
schedule
The recurring quiet-hours schedule. Only set on the user-level preference.
Constructors
Link copied to clipboard
constructor(level: PushPreferenceLevel?, disabledUntil: Date?, chatPreferences: ChatPreferences? = null, schedule: PushSchedule? = null)