聊天历史
GET
/message/history
请求参数
Query 参数
token
string
可选
pageSize
string
可选
seq
string
可选
snapshotDay
string
可选
imBotId
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/message/history?token=&pageSize=&seq=&snapshotDay=&imBotId ='
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
必需
botId
string
必需
messageId
string
必需
chatId
string
必需
avatar
string
必需
roomTopic
string
必需
roomId
string
必需
contactName
string
必需
contactId
string
必需
payload
object
必需
type
number
必需
timestamp
string
必需
contactType
number
必需
coworker
string
必需
botWxid
string
必需
botWeixin
string
必需
isSelf
boolean
必需
示例
{
"code": 0,
"data": {
"botId": "string",
"messageId": "string",
"chatId": "string",
"avatar": "string",
"roomTopic": "string",
"roomId": "string",
"contactName": "string",
"contactId": "string",
"payload": {
"text": "string"
},
"type": 0,
"timestamp": "string",
"contactType": 0,
"coworker": "string",
"botWxid": "string",
"botWeixin": "string",
"isSelf": true
}
}
修改于 2024-10-24 11:03:10