Skip to content

Commit

Permalink
Merge pull request #1004 from haoxiuwen/doc-v2
Browse files Browse the repository at this point in the history
Modify IM Doc
  • Loading branch information
haoxiuwen authored Oct 24, 2024
2 parents 11531f9 + 4b81673 commit 12fa3b6
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions docs/document/server-side/message_historical.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,18 +348,29 @@ curl -X GET -H 'Accept: application/json' -H 'Authorization: Bearer <YourAppToke
自定义类型消息格式示例如下:

```json
"bodies":

"bodies":
[
{
"customExts":
{
"name":"flower",
"size":"16",
"price":"100"
},
"customEvent":"gift_1",
"type":"custom"
}
"v2:customExts": {
"name": "flower",
"size": "16",
"price": "100"
},
"customExts": [
{
"name": "flower"
},
{
"size": "16"
},
{
"price": "100"
}
],
"customEvent": "gift_1",
"type": "custom"
}
]
```

Expand Down

0 comments on commit 12fa3b6

Please sign in to comment.