@@ -34,7 +34,7 @@ hide_title: true
3434 " 9371245179"
3535 ],
3636 "sendID" : " 3473643418" ,
37- "senderNickname" : " 杜平 " ,
37+ "senderNickname" : " Alice " ,
3838 "senderFaceURL" : " http://nvpydodr.ae/ylyqu" ,
3939 "senderPlatformID" : 2 ,
4040 "content" : {
@@ -62,14 +62,14 @@ hide_title: true
6262| sendID| 必填| string| 发送者ID(可以为管理员ID,可以为用户ID)|
6363| senderNickname| 选填| string| 发送者昵称|
6464| senderFaceURL| 选填| string| 发送者头像|
65- | senderPlatformID| 选填| int| 发送者平台号 ,模拟用户发送时填写, 1- & gt ; IOS,2- & gt ; Android,3- & gt ; Windows,4- & gt ; OSX,5- & gt ; Web,5- & gt ; MiniWeb,7- & gt ; Linux,8- & gt ; AndroidPad,9- & gt ; IPad |
66- | content| 必填| object| 消息的具体内容,内部是json 对象,其他消息的详细字段请参考消息类型格式描述文档 |
67- | contentType| 必填| int| 消息类型,101表示文本,102表示图片..详细参考消息类型格式描述文档 |
68- | sessionType| 必填| int| 会话类型,发送的消息是单聊还是群聊,单聊为1,群聊(普通写扩散)为2,大群(读扩散接口)为3,通知会话为4 |
65+ | senderPlatformID| 选填| int| 消息发送者的 [ 终端类型 ] ( docs/restapi/commonFields.mdx/#通用字段说明 ) ,模拟用户发送时填写|
66+ | content| 必填| object| 消息的具体内容,内部是json 对象,其他消息的详细字段请参考 [ 消息类型格式描述文档 ] ( docs/restapi/contentDescription.mdx/#content-具体内容- ) |
67+ | contentType| 必填| int| [ 消息类型] ( docs/restapi/contentDescription.mdx ) |
68+ | sessionType| 必填| int| [ 会话类型] ( docs/restapi/commonFields.mdx/#通用字段说明 ) |
6969| isOnlineOnly| 选填| boolean| 该字段设置为true时候,发送的消息服务器不会存储,接收者在线才会收到,不在线该消息丢失|
7070| notOfflinePush| 选填| string| 该字段设置为true时候,发送的消息在用户离线时将不会进行离线推送|
7171| sendTime| 选填| int| 发送消息时间戳,单位毫秒|
72- | offlinePushInfo| 选填| object| 离线推送的具体内容,如果不填写,使用服务器默认推送标题|
72+ | offlinePushInfo| 选填| object| 离线推送的具体内容,如果不填写,使用服务器默认推送标题。notOfflinePush为true时该字段不会使用。 |
7373| offlinePushInfo.title| 选填| string| 推送的标题|
7474| offlinePushInfo.desc| 选填| string| 推送的具体描述|
7575| offlinePushInfo.ex| 选填| string| 扩展字段|
0 commit comments