上传群语音
测试中
本地开发环境
本地开发环境
POST
/uploadGroupVoice
最后修改时间:2023-09-07 17:28:05
请求参数
Header 参数
X-Token
string
必需
默认值:
yoyohuhu
Body 参数application/json
botId
string
必需
groupId
string
必需
voice
string
必需
text
string
文本
duration
integer
时长
type
integer
必需
示例
{
"botId": "string",
"groupId": "string",
"voice": "string",
"text": "string",
"duration": 0,
"type": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost/uploadGroupVoice' \
--header 'X-Token;' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
必需
id
string
必需
name
string
必需
location
string
必需
type
string
必需
tag
string
必需
discription
string
必需
示例
{
"code": 0,
"data": {
"id": "string",
"name": "string",
"location": "string",
"type": "string",
"tag": "string",
"discription": "string"
}
}
修改于 2023-09-07 17:28:05