send-message/send-voice
Description
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | int | API ID |
userName | Yes | string | Receiver's wxid |
filePath | Yes | string | Full file path |
Request Example
{
"type": 10014,
"userName": "filehelper",
"filePath": "C:\\xxx.silk" Legacy issue: the correct path is \\, not \.
}
音频转slik工具:点击跳转
Return Example
{
"data": {
"status": 0,
"desc": "",
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |