mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
更新文档
This commit is contained in:
parent
659c10fff8
commit
d4ae4d38e5
@ -77,4 +77,4 @@ List of supported parameters, specific effects can be previewed in the APP.
|
||||
| url | URL to jump to when the push is clicked, supports URL Scheme and Universal Link |
|
||||
| action | Pass "none" to prevent a popup when the push is clicked |
|
||||
| id | When using the same ID value, it will update the corresponding push notification content<br>Requires Bark v1.5.2, bark-server v2.2.5 or above |
|
||||
| delete | Pass "1" to delete the notification from the system notification center and APP history, must be used with the id parameter |
|
||||
| delete | Pass "1" to delete the notification from the system notification center and APP history, must be used with the id parameter<br>Requires "Background App Refresh" to be enabled in settings, otherwise it will not work. |
|
||||
@ -77,7 +77,8 @@ curl -X "POST" "https://api.day.app/push" \
|
||||
| url | 点击推送时,跳转的URL ,支持URL Scheme 和 Universal Link |
|
||||
| action | 传 "none" 时,点击推送不会弹窗 |
|
||||
| id | 使用相同的ID值时,将更新对应推送的通知内容<br>需 Bark v1.5.2, bark-server v2.2.5 以上 |
|
||||
| delete | 传 "1" 时,将从系统通知中心和APP内历史记录中删除通知,需搭配 id 参数使用 |
|
||||
| delete | 传 "1" 时,将从系统通知中心和APP内历史记录中删除通知,需搭配 id 参数使用<br>需在设置里开启”后台App刷新“,否则无效。|
|
||||
|
||||
|
||||
## 快捷指令
|
||||
Bark 支持快捷指令直接发送推送,以下是当收到交警短信时,忽略静音模式持续响铃提醒用户的自动化示例。
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user