Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 推送接口.md #15887

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ Push API 可选参数是除了`audience_type`、`message_type`、`message`以外
| 参数名 | 类型 | 父项目 | 必需 | 默认值 | 描述 |
| --------------------- | ------- | ------ | ------------------------------ | ------------------------------------ | ------------------------------------------------------------ |
| expire_time | Integer | 无 | 否 | 86400(24小时) | 消息离线存储时间(单位为秒),最长72小时<li>若 expire_time = 0,则表示实时消息</li><li>若 expire_time 大于0,且小于800s,则系统会重置为800s</li><li>若expire_time >= 800s,按实际设置时间存储,最长72小时 </li><li>设置的最大值不得超过259200,否则会导致推送失败</li><li>如需调整离线消息时间,请联系 [在线客服](https://cloud.tencent.com/act/event/Online_service) 申请</li> |
| channel_expires | array[{"chanel":string,"expire_time":int}] | 无 | 否 | 无| 在推送接口中填写channel_expires 字段后, 在推送流程中,会区分此类型消息和普通消息,单独使用通道的特殊离线消息时长,其他通道则使用默认值expire_time过期时间,消息离线存储时间(单位为秒),最长72小时<li>若 expire_time = 0,则表示实时消息</li><li>若 expire_time 大于0,且小于800s,则系统会重置为800s</li><li>若expire_time >= 800s,按实际设置时间存储</li><li>最长72小时设置的最大值不得超过259200,否则会导致推送失败</li><li>如需调整离线消息时间,请联系 [在线客服](https://cloud.tencent.com/act/event/Online_service) 申请</li> |
| send_time | String | 无 | 否 | 当前系统时间 | 指定推送时间,可选择未来90天内的时间:<li>格式为 yyyy-MM-DD HH:MM:SS</li><li>若小于服务器当前时间,则会立即推送</li><li>仅全量推送、号码包推送和标签推送支持此字段</li> |
| multi_pkg | Boolean | 无 | 否 | false | 多包名推送:当 App 存在多个渠道包(例如应用宝、豌豆荚等),并期望推送时所有渠道的 App 都能收到消息,可将该值设置为 true。<br>**注意:**该参数默认控制移动推送自建通道的多包名推送,需要实现厂商通道多包名推送详见 [厂商通道多包名配置](https://cloud.tencent.com/document/product/548/42875#.E5.A4.9A.E5.8C.85.E5.90.8D.E5.8E.82.E5.95.86.E9.80.9A.E9.81.93.E9.85.8D.E7.BD.AE) 文档 |
| loop_param | Object | 无 | 否 | 0 | 仅全量推送、号码包推送和标签推送支持此字段,详情见下文 [loop_param 参数说明](#loop_param参数说明) |
Expand Down