Skip to content

Commit 6f898fc

Browse files
committed
添加推送图片参数说明
1 parent 8bcbab4 commit 6f898fc

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

docs/en-us/tutorial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ List of supported parameters, specific effects can be previewed in the APP.
8282
| copy | When copying the push, specify the content to copy, if this parameter is not passed, the entire push content will be copied. |
8383
| sound | Can set different ringtones for the push |
8484
| icon | Set a custom icon for the push, the set icon will replace the default Bark icon. <br>The icon will be automatically cached on the device, the same icon URL will only be downloaded once. |
85+
| image | Push image |
8586
| group | Group messages, pushes will be displayed in the notification center by group.<br>You can also choose to view different groups in the history message list. |
8687
| ciphertext | Ciphertext for encrypted push |
8788
| isArchive | Pass 1 to save the push, pass other values to not save the push, if not passed, it will be decided by the APP settings whether to save. |

docs/tutorial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ curl -X "POST" "https://api.day.app/push" \
8282
| copy | 复制推送时,指定复制的内容,不传此参数将复制整个推送内容。 |
8383
| sound | 可以为推送设置不同的铃声 |
8484
| icon | 为推送设置自定义图标,设置的图标将替换默认Bark图标。<br>图标会自动缓存在本机,相同的图标 URL 仅下载一次。 |
85+
| image | 推送图片 |
8586
| group | 对消息进行分组,推送将按group分组显示在通知中心中。<br>也可在历史消息列表中选择查看不同的群组。 |
8687
| ciphertext | 加密推送的密文 |
8788
| isArchive | 传 1 保存推送,传其他的不保存推送,不传按APP内设置来决定是否保存。 |

0 commit comments

Comments
 (0)