Skip to content

Commit 148626b

Browse files
authored
docs: add richContent on readme (#180)
1 parent 8ee1c97 commit 148626b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ for (let pushToken of somePushTokens) {
5151
sound: 'default',
5252
body: 'This is a test notification',
5353
data: { withSome: 'data' },
54+
richContent: {
55+
image: 'https://example.com/statics/some-image-here-if-you-want.jpg'
56+
},
5457
})
5558
}
5659

0 commit comments

Comments
 (0)