获取房间上传的表情包
开发中
GET
https://chat.xiaoheihe.cn/chatroom/v3/msg/meme/room/list
请求参数
Authorization
在 header 添加参数
token
示例:
token: ********************
Query 参数
room_id
string
房间ID
client_type
string
声明请求黑盒语音
默认值:
heybox_chat
x_client_type
string
声明客户端类型
默认值:
web
os_type
string
声明客户端类型
默认值:
web
x_os_type
string
声明客户端是bot
默认值:
bot
x_app
string
声明请求黑盒语音
默认值:
heybox_chat
chat_os_type
string
声明客户端是bot
默认值:
bot
chat_version
string
必需
默认值:
1.30.0
示例代码
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://chat.xiaoheihe.cn/chatroom/v3/msg/meme/room/list?room_id&client_type=&x_client_type=&os_type=&x_os_type=&x_app=&chat_os_type=&chat_version=' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
msg
string
必需
result
object
必需
emoji
array [object {2}]
必需
sticker
array [object {2}]
必需
status
string
必需
示例
{
"msg": "",
"result": {
"emoji": [
{
"user_info": {
"avatar_decoration": {
"src_type": "",
"src_url": ""
},
"tag": null,
"nickname": "测试",
"avatar": "https://cdn.max-c.com/app/heybox/icon_83xxx/jpg",
"medals": null,
"user_id": 1,
"level": 8,
"bot": false,
"room_nickname": "",
"roles": null
},
"meme_info": {
"name": "icon-游戏相关问题",
"path": "1749706076381196288",
"ext": "png",
"create_time": 0,
"mtype": 1
}
},
{
"user_info": {
"avatar_decoration": {
"src_type": "",
"src_url": ""
},
"tag": null,
"nickname": "测试",
"avatar": "https://cdn.max-c.com/app/heybox/icon_83xxx/jpg",
"medals": null,
"user_id": 2,
"level": 3,
"bot": false,
"room_nickname": "测试",
"roles": null
},
"meme_info": {
"name": "7",
"path": "1737773988811116544",
"ext": "jpg",
"create_time": 0,
"mtype": 1
}
}
]
},
"status": "ok"
}