通过联系人id获取联系人所在群聊
GET
/room/listByMember
请求参数
Query 参数
token
string
可选
contactWxid
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 'https://aa-stream-api.ddregion.com/room/listByMember?token=&contactWxid='
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
array [object {13}]
必需
avatarUrl
string
必需
botId
string
必需
topic
string
必需
ownerId
string
必需
memberCount
integer
必需
deleted
boolean
必需
wxid
string
必需
external
boolean
必需
wecomChatId
string
必需
members
array [object {11}]
必需
labels
array[string]
必需
chatId
string
必需
botInfo
object
必需
示例
{
"code": 0,
"data": [
{
"avatarUrl": "string",
"botId": "string",
"topic": "string",
"ownerId": "string",
"memberCount": 0,
"deleted": true,
"wxid": "string",
"external": true,
"wecomChatId": "string",
"members": [
{
"wxid": "string",
"nickName": "string",
"avatarUrl": "string",
"roomAlias": "string",
"isFriend": true,
"coworker": true,
"contactType": 0,
"corporation": "string",
"joinTime": 0,
"joinScene": 0,
"inviterId": "string"
}
],
"labels": [
"string"
],
"chatId": "string",
"botInfo": {
"wxid": "string",
"weixin": "string",
"nickName": "string"
}
}
]
}