最近消息列表
POST
/get_recent_contact
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/get_recent_contact' \
--header 'Content-Type: application/json' \
--data-raw '{
"count": 10
}'
响应示例响应示例
{
"status": "ok",
"retcode": 0,
"data": [
{
"lastestMsg": {
"self_id": 0,
"user_id": 0,
"time": 0,
"real_seq": "string",
"message_type": "string",
"sender": {
"user_id": 0,
"nickname": "string",
"sex": "male",
"age": 0,
"card": "string",
"role": "owner"
},
"raw_message": "string",
"font": 0,
"sub_type": "string",
"message": [
{
"type": "text",
"data": {
"text": "string"
}
}
],
"message_format": "string",
"post_type": "string",
"group_id": 0
},
"peerUin": "string",
"remark": "string",
"msgTime": "string",
"chatType": 0,
"msgId": "string",
"sendNickName": "string",
"sendMemberName": "string",
"peerName": "string"
}
],
"message": "string",
"wording": "string",
"echo": "string"
}
请求参数
Body 参数application/json