Skip to content

js-bao-wss-client


js-bao-wss-client / NotificationSendResult

Interface: NotificationSendResult ​

Per-channel outcome of a send.

Properties ​

channel ​

channel: string


delivered? ​

optional delivered?: number

push: per-token tallies (one user can hold several device tokens).


error? ​

optional error?: string


failed? ​

optional failed?: number


httpStatus? ​

optional httpStatus?: number


invalidated? ​

optional invalidated?: number


notificationId? ​

optional notificationId?: string

in-app channel: the durable inbox row id.


retryable? ​

optional retryable?: boolean

Whether a retry could plausibly succeed; set when status is "failed".


skipReason? ​

optional skipReason?: string


status ​

status: "failed" | "skipped" | "delivered" | "invalidated"

"invalidated": every push token for the recipient was dead (evicted).


tokenAttempts? ​

optional tokenAttempts?: NotificationTokenAttempt[]

push: per-token detail.

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30