File tree Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1111 <Product >JPush</Product >
1212 <Copyright >MIT</Copyright >
1313 <PackageLicenseUrl ></PackageLicenseUrl >
14- <Version >1.0.10 </Version >
14+ <Version >1.0.11 </Version >
1515 </PropertyGroup >
1616
1717 <ItemGroup >
Original file line number Diff line number Diff line change 11using Newtonsoft . Json ;
2- using System . ComponentModel ;
32
43namespace Jiguang . JPush . Model
54{
@@ -8,12 +7,24 @@ namespace Jiguang.JPush.Model
87 /// </summary>
98 public class Options
109 {
10+ /// <summary>
11+ /// 推送序号。
12+ /// <para>用来作为 API 调用标识,API 返回时被原样返回,以方便 API 调用方匹配请求与返回。不能为 0。</para>
13+ /// </summary>
1114 [ JsonProperty ( "sendno" , NullValueHandling = NullValueHandling . Ignore ) ]
1215 public int ? SendNo { get ; set ; }
1316
17+ /// <summary>
18+ /// 离线消息保留时长(秒)。
19+ /// <para>推送当前用户不在线时,为该用户保留多长时间的离线消息,以便其上线时再次推送。默认 86400 (1 天),最长 10 天。设置为 0 表示不保留离线消息,只有推送当前在线的用户可以收到。</para>
20+ /// </summary>
1421 [ JsonProperty ( "time_to_live" , NullValueHandling = NullValueHandling . Ignore ) ]
1522 public int ? TimeToLive { get ; set ; }
1623
24+ /// <summary>
25+ /// 要覆盖的消息 ID。
26+ /// <para>如果当前的推送要覆盖之前的一条推送,这里填写前一条推送的 msg_id 就会产生覆盖效果。覆盖功能起作用的时限是:1 天。</para>
27+ /// </summary>
1728 [ JsonProperty ( "override_msg_id" , NullValueHandling = NullValueHandling . Ignore ) ]
1829 public long ? OverrideMessageId { get ; set ; }
1930
@@ -31,6 +42,10 @@ public class Options
3142 [ JsonProperty ( "apns_collapse_id" , NullValueHandling = NullValueHandling . Ignore ) ]
3243 public string ApnsCollapseId { get ; set ; }
3344
45+ /// <summary>
46+ /// 定速推送时长(分钟)。
47+ /// 又名缓慢推送。把原本尽可能快的推送速度,降低下来,给定的 n 分钟内,均匀地向这次推送的目标用户推送。最大值为 1400,未设置则不是定速推送。
48+ /// </summary>
3449 [ JsonProperty ( "big_push_duration" , NullValueHandling = NullValueHandling . Ignore ) ]
3550 public int ? BigPushDuration { get ; set ; }
3651 }
Original file line number Diff line number Diff line change 11# JPush Library for .NET
22
3- [ ![ NuGet] ( https://img.shields.io/badge/NuGet-v1.0.10 -blue.svg )] ( https://preview.nuget.org/packages/Jiguang.JPush/ )
3+ [ ![ NuGet] ( https://img.shields.io/badge/NuGet-v1.0.11 -blue.svg )] ( https://preview.nuget.org/packages/Jiguang.JPush/ )
44
55由[ 极光] ( https://www.jiguang.cn/ ) 官方支持的 JPush .NET API Client。
66
You can’t perform that action at this time.
0 commit comments