Skip to content

Commit 24751a2

Browse files
authored
Merge pull request #186 from dela-dels/patch-1
Update README.md
2 parents 2eeca4d + 5b8d275 commit 24751a2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ You can easily send a message to all registered users with the command
8989
);
9090
```
9191

92-
`$url` , `$data` , `$buttons` and `$schedule` fields are exceptional. If you
93-
provide a `$url` parameter, users will be redirecting to that url.
92+
`$url` , `$data` , `$buttons` and `$schedule` fields are optional. If you
93+
provide a `$url` parameter, users will be redirected to that url.
9494

9595

9696
### Sending a Notification based on Tags/Filters
@@ -132,7 +132,7 @@ You can send a message based on a set of tags with the command
132132

133133
### Sending a Notification To A Specific User
134134

135-
After storing a user's tokens in a table, you can simply send a message with
135+
After storing a user's token in a table, you can simply send a message with
136136

137137
```php
138138
OneSignal::sendNotificationToUser(
@@ -147,14 +147,14 @@ After storing a user's tokens in a table, you can simply send a message with
147147

148148
`$userId` is the user's unique id where he/she is registered for notifications.
149149
Read https://documentation.onesignal.com/docs/add-user-data-tags for additional details.
150-
`$url` , `$data` , `$buttons` and `$schedule` fields are exceptional. If you provide
151-
a `$url` parameter, users will be redirecting to that url.
150+
`$url` , `$data` , `$buttons` and `$schedule` fields are optional. If you provide
151+
a `$url` parameter, users will be redirected to that url.
152152

153153

154154

155155
### Sending a Notification To A Specific external User (custom user id added by user)
156156

157-
After storing a user's tokens in a table, you can simply send a message with
157+
After storing a user's token in a table, you can simply send a message with
158158

159159
```php
160160
OneSignal::sendNotificationToExternalUser(
@@ -170,7 +170,7 @@ After storing a user's tokens in a table, you can simply send a message with
170170
`$userId` is the user's unique external id (custom id) added by the user where he/she is registered for notifications.
171171
Read https://documentation.onesignal.com/docs/add-user-data-tags for additional details.
172172
`$url` , `$data` , `$buttons` and `$schedule` fields are exceptional. If you provide
173-
a `$url` parameter, users will be redirecting to that url.
173+
a `$url` parameter, users will be redirected to that url.
174174

175175
### Sending a Notification To Segment
176176

@@ -187,8 +187,8 @@ You can simply send a notification to a specific segment with
187187
);
188188
```
189189

190-
`$url` , `$data` , `$buttons` and `$schedule` fields are exceptional. If you
191-
provide a `$url` parameter, users will be redirecting to that url.
190+
`$url` , `$data` , `$buttons` and `$schedule` fields are optional. If you
191+
provide a `$url` parameter, users will be redirected to that url.
192192

193193
### Sending a Custom Notification
194194

@@ -237,7 +237,7 @@ OneSignal::addParams($params)->sendNotificationToAll($message);
237237

238238
### 2. Sending a message with high priority
239239

240-
This time, we will specify parameters one by one.
240+
This time, we will specify parameters one after the other.
241241

242242
```php
243243
use OneSignal;

0 commit comments

Comments
 (0)