OptionalidThe notification identifier to reference this object later. Must be a 32-bit integer.
OptionalchannelIdentifier of the Channel that deliveres this notification.
If the channel does not exist, the notification won't fire. Make sure the channel exists with listChannels and createChannel.
Notification title.
OptionalbodyOptional notification body.
OptionalscheduleSchedule this notification to fire on a later time or a fixed interval.
OptionallargeMultiline text.
Changes the notification style to big text.
Cannot be used with inboxLines.
OptionalsummaryDetail text for the notification with largeBody, inboxLines or groupSummary.
OptionalactionDefines an action type for this notification.
OptionalgroupIdentifier used to group multiple notifications.
OptionalgroupInstructs the system that this notification is the summary of a group on Android.
OptionalsoundThe sound resource name. Only available on mobile.
OptionalinboxList of lines to add to the notification.
Changes the notification style to inbox.
Cannot be used with largeBody.
Only supports up to 5 lines.
OptionaliconNotification icon.
On Android the icon must be placed in the app's res/drawable folder.
OptionallargeNotification large icon (Android).
The icon must be placed in the app's res/drawable folder.
OptionaliconIcon color on Android.
OptionalattachmentsNotification attachments.
OptionalextraExtra payload to store in the notification.
OptionalongoingIf true, the notification cannot be dismissed by the user on Android.
An application service must manage the dismissal of the notification. It is typically used to indicate a background task that is pending (e.g. a file download) or the user is engaged with (e.g. playing music).
OptionalautoAutomatically cancel the notification when the user clicks on it.
OptionalsilentChanges the notification presentation to be silent on iOS (no badge, no sound, not listed).
OptionalvisibilityNotification visibility.
OptionalnumberSets the number of items this notification represents on Android.
Options to send a notification.
Since
2.0.0