PushPreference
constructor(level: PushPreferenceLevel?, disabledUntil: Date?, chatPreferences: ChatPreferences? = null, schedule: PushSchedule? = null)
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.