snoozeUserPushNotifications
Temporarily disables push notifications for the current user until the specified date. This is useful for implementing "Do Not Disturb" functionality where users can snooze notifications for a specific period of time.
Once the specified date is reached, notifications will resume according to the user's previously configured notification level.
Return
Executable async Call responsible for snoozing the user's push notifications. Returns a PushPreference object containing the updated preference settings with the disabledUntil
field set to the specified date.
Parameters
until
The Date until which push notifications should be disabled. Must be a future date. After this date, notifications will resume automatically.