Push message will be used to send a push notification to a set of devices
Optional devices: Device | Set<Device> | Iterable<Device>The Set of device references which will receive this push notification.
Optional message: stringThe message of the push notification.
Optional subject: stringThe subject of the push notification.
Optional options: string | PushMessageOptionsThe options object which can contain additional information and data
Optional badge: string | numberThe badge for iOS or Web Push devices
Optional data: JsonThe data object which can contain additional information.
Optional actionsActions that the user can invoke and interact with (web push only)
Optional badgeThe badge for iOS or Web Push devices
Optional dataThe data object which can contain additional information.
Set of devices
Optional dirDefines which direction the text should be displayed (web push only)
Optional iconThe icon of the push message
Optional imageAn image of the push message (web push only)
Optional messagePush notification message
Optional nativeThe number for iOS and Android devices which will occur on the top right of the icon
Optional renotifyThe renotify option makes new notifications vibrate and play a sound (web push only)
Optional requireThe requireInteraction option lets stay the push message until the user interacts with it (web push only)
Optional silentThe silent option shows a new notification but prevents default behavior (web push only)
Optional soundThe sound of an incoming push message (web push only)
Optional subjectPush notification subject
Optional tagThe tag of the push message where messages are going to be collected (web push only)
Optional vibrateThe vibrate property specifies a vibration pattern for the device's vibration
Optional webThe web badge is the small monochrome icon which will occur on small devices (web push only)
Static Private initGenerated using TypeDoc
PushMessages are used to send a push notification to a set of devices