Expand description
Helpers for common OneSignal API usage patterns.
Structs§
- Create
Notification With Retry Options - Options for
create_notification_with_retry. - Create
Notification With Retry Result - Result of
create_notification_with_retry: the create response plus whether the server replayed a previously completed request (Idempotent-Replayedresponse header).
Functions§
- create_
notification_ with_ retry - Create a notification with safe, idempotent retries.
Type Aliases§
- Message
NotSent - The branch of a POST /notifications 200 response where NO notification was
created (
idis absent or empty);errorscarries the reason. Shares themodels::CreateNotificationSuccessResponseshape; seemodels::CreateNotificationSuccessResponse::as_not_sent. - Message
Sent - The branch of a POST /notifications 200 response where a notification was
created (
idis a non-empty string). Shares themodels::CreateNotificationSuccessResponseshape; seemodels::CreateNotificationSuccessResponse::as_sent.