Skip to main content

Module notifications

Module notifications 

Expand description

Local notification settings and the native notification API.

Structs§

NotificationConfig
Delivery details and rules used to compute the desired subscriptions.

Enums§

NotificationChannel
The delivery endpoint. Credentials are omitted from debug output.
NotificationError
Errors use fixed messages and never include notification credentials.
NotificationOverride
A conversation rule. Sync groups use the client rule only.
NotificationState
The locally stored notification state. This getter does not make a request.

Functions§

disable_notifications
Disable locally before unregistering. The recipient identity and overrides stay. A failed unregister leaves the client disabled with its recipient reset owed.
enable_notifications
Store configuration, then register inline. The task retries transient errors.
notification_state
Read the locally stored state without a backend call.