Skip to content

Commit 5360f79

Browse files
author
Leon
committed
Updated readme
1 parent e694af4 commit 5360f79

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,18 @@ class VpsServerOrdered extends Notification
9999
}
100100
```
101101

102+
Additionally you can add recipients (single value or array)
103+
104+
``` php
105+
return (new MessagebirdMessage("Your {$notifiable->service} was ordered!"))->setRecipients($recipients);
106+
```
107+
108+
In order to handle a status report you can also set a reference
109+
110+
``` php
111+
return (new MessagebirdMessage("Your {$notifiable->service} was ordered!"))->setReference($id);
112+
```
113+
102114
## Changelog
103115

104116
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

0 commit comments

Comments
 (0)