Skip to content

Commit c38a741

Browse files
Update group.md
1 parent 82c0842 commit c38a741

1 file changed

Lines changed: 41 additions & 1 deletion

File tree

src/api/v1/group.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,44 @@ message info {
131131
132132
}
133133
```
134-
:::
134+
:::
135+
136+
## 获取群聊语音房间
137+
138+
POST /v1/group/live-room
139+
140+
请求头:
141+
142+
|名称|必须|备注|
143+
|---|---|---|
144+
|token||可以瞎写一个|
145+
146+
请求体:
147+
```JSON
148+
{
149+
"group_id": "群聊id"
150+
}
151+
```
152+
153+
响应数据:
154+
```JSON
155+
{
156+
"code": "请求状态码,1为正常,此值为数值",
157+
"data": {
158+
{
159+
"userId": "8372435",
160+
"roomId": "{房间ID}",
161+
"chatId": "{房间所属对象ID}",
162+
"title": "{房间名称}",
163+
"chatType": "房间所属对象类别,一般为2-群聊,此值为数值",
164+
"status": "房间状态码,此值为数值",
165+
"createBy": "{房间创建用户ID}",
166+
"createTime": "房间创建时间戳,此值为数值",
167+
"nickname": "{用户名称}",
168+
"count": "房间内人数,此值为数值",
169+
"avatarUrl": "{房间头像url}"
170+
}
171+
},
172+
"msg": "{返回消息}"
173+
}
174+
```

0 commit comments

Comments
 (0)