-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,10 +106,10 @@ alert.notify({ | |
}); | ||
``` | ||
|
||
#### **Custom Notifications** | ||
#### Custom Notifications | ||
You can use these two signature to send the custom notification with pre-defined notification types. | ||
|
||
##### **Passing the whole notification object** | ||
#### Passing the whole notification object | ||
By using this approach you need to pass the whole notification object as described in the API documentation | ||
```js | ||
alert.notify({ | ||
|
@@ -136,11 +136,11 @@ alert.notify({ | |
}); | ||
``` | ||
|
||
##### **Passing the notification object in parts** | ||
#### Passing the notification object in parts | ||
By using this approach you can post a notification by providing different parts of the notification object grouped in related units | ||
```js | ||
alert.notify({ | ||
recipients: recipients, | ||
recipients: ["[email protected]","[email protected]"], | ||
type: "IncidentCreated" | ||
priority: 'NEUTRAL', | ||
properties: [ | ||
|