Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ipaunov committed Oct 25, 2023
1 parent 6a3b882 commit cf93dd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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: [
Expand Down

0 comments on commit cf93dd8

Please sign in to comment.