Skip to content

Commit d623adb

Browse files
committed
Update example for receiving notification [ci skip]
1 parent 9d2ad26 commit d623adb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ check for the `Notification` message type.
112112

113113
```php
114114
if ($message['Type'] === 'Notification') {
115-
// Do whatever you want with the message body.
115+
// Do whatever you want with the message body and data.
116+
echo $message['MessageId'] . ': ' . $message['Message'] . "\n";
116117
}
117118
```
118119

0 commit comments

Comments
 (0)