js-bao-wss-client / SendNotificationParams
Interface: SendNotificationParams
Parameters for notifications.send() (requires app admin permission): the notification content, the target user, the delivery channels, and optional expiry, tracing, and idempotency controls.
Properties
body
body:
string
channels?
optionalchannels?:string[]
Channel list; defaults to ["in-app"].
deepLink?
optionaldeepLink?:string
expiresAt?
optionalexpiresAt?:string
ISO date string; the inbox row expires (and is auto-deleted) after this.
iconUrl?
optionaliconUrl?:string
idempotencyKey?
optionalidempotencyKey?:string
Dedupe key: a repeat send with the same key returns the prior outcome.
sourceRef?
optionalsourceRef?:string
Recorded on the row for tracing; defaults to api:<caller>.
target
target:
object
userId
userId:
string
title
title:
string