Skip to content

Commit c1fc684

Browse files
authored
Merge pull request #989 from haoxiuwen/doc-v2
Modify IM Doc
2 parents 89afbe6 + 631e926 commit c1fc684

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

docs/document/server-side/message_historical.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,9 @@ curl -X GET -H 'Accept: application/json' -H 'Authorization: Bearer <YourAppToke
368368
| 参数 | 类型 | 描述 |
369369
| :------------ | :----- | :----------------------------------------------- |
370370
| `combineLevel` | Int | 合并消息的嵌套层级数。 |
371-
| `file_length` | Int | 合并消息的大小|
371+
| `file_length` | Int | 合并消息附件的大小,单位为字节|
372372
| `filename` | String | 合并消息的附件名称。 |
373-
| `secret` | String | 合并消息附件的访问密钥。如果 [文件上传](message_download.html#上传文件) 时设置了文件访问限制,则该字段存在。 |
373+
| `secret` | String | 合并消息附件的访问密钥。如果[文件上传](message_download.html#上传文件) 时设置了文件访问限制,则该字段存在。 |
374374
| `subType` | String | 表示消息类型为合并消息。 |
375375
| `summary` | String | 合并消息的概要。 |
376376
| `title` | String | 合并消息的标题。 |
@@ -379,17 +379,18 @@ curl -X GET -H 'Accept: application/json' -H 'Authorization: Bearer <YourAppToke
379379
例如,下面示例为源消息包括文本、图片和文件消息的合并消息格式:
380380

381381
```json
382-
"bodies": [
383-
{
384-
"combineLevel": 1,
385-
"file_length": 550,
386-
"filename": "17289718748990036",
387-
"secret": "a_OTmoq6Ee-CygH0PRzcUyFniZDmSsX1ur0j-9RtCj3tK6Gr",
388-
"subType": "sub_combine",
389-
"summary": ":yyuu\n:[图片]\n:[文件]\n",
390-
"title": "聊天记录",
391-
"url": "https://a1-hsb.easemob.com/sandbox-dee1/wdtest/chatfiles/6bf39390-8aba-11ef-a8ae-6f545c50ca23"
392-
}
382+
"bodies":
383+
[
384+
{
385+
"combineLevel": 1,
386+
"file_length": 550,
387+
"filename": "17289718748990036",
388+
"secret": "a_OTmoq6Ee-CygH0PRzcUyFniZDmSsX1ur0j-9RtCj3tK6Gr",
389+
"subType": "sub_combine",
390+
"summary": ":yyuu\n:[图片]\n:[文件]\n",
391+
"title": "聊天记录",
392+
"url": "https://a1-hsb.easemob.com/sandbox-dee1/wdtest/chatfiles/6bf39390-8aba-11ef-a8ae-6f545c50ca23"
393+
}
393394
]
394395
```
395396

0 commit comments

Comments
 (0)