XYBotV2协议接口
  1. Tool
XYBotV2协议接口
  • Friend
    • /AcceptFriend
      POST
    • /GetContact
      POST
    • /GetContractDetail
      POST
    • /GetContractList
      POST
  • Group
    • /AddChatroomMember
      POST
    • /GetChatroomInfo
      POST
    • /GetChatroomInfoNoAnnounce
      POST
    • /GetChatroomMemberDetail
      POST
    • /GetChatroomQRCode
      POST
    • /InviteChatroomMember
      POST
  • Login
    • /AutoHeartbeatStart
      POST
    • /AutoHeartbeatStatus
      POST
    • /AutoHeartbeatStop
      POST
    • /AwakenLogin
      POST
    • /CheckUuid
      POST
    • /GetCachedInfo
      POST
    • /GetQRCode
      POST
    • /Heartbeat
      POST
    • /LogOut
      POST
  • Tool
    • /CdnDownloadImg
      POST
    • /CheckDatabaseOK
      GET
    • /DownloadAttach
      POST
    • /DownloadImg
      POST
    • /DownloadVideo
      POST
    • /DownloadVoice
      POST
    • /GetCdnDns
      POST
    • /IsRunning
      GET
    • /SetProxy
      POST
    • /SetStep
      POST
  • HongBao
    • /GetHongBaoDetail
  • User
    • /GetMyQRCode
    • /GetProfile
  • Message
    • /RevokeMsg
    • /SendAppMsg
    • /SendCDNFileMsg
    • /SendCDNImgMsg
    • /SendCDNVideoMsg
    • /SendCardMsg
    • /SendEmojiMsg
    • /SendImageMsg
    • /SendShareLink
    • /SendTextMsg
    • /SendVideoMsg
    • /SendVoiceMsg
    • /Sync
  1. Tool

/DownloadVoice

POST
/DownloadVoice
Tool
下载语音

请求参数

Body 参数application/json
Length
integer 
可选
MsgId
integer 
可选
ReqestWxid
string 
可选
Voiceurl
string 
必需
Wxid
string 
必需
示例
{
  "Length": 0,
  "MsgId": 0,
  "ReqestWxid": "string",
  "Voiceurl": "string",
  "Wxid": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/DownloadVoice' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Length": 0,
    "MsgId": 0,
    "ReqestWxid": "string",
    "Voiceurl": "string",
    "Wxid": "string"
}'

返回响应

🟢200OK
application/json
Body
Code
integer 
可选
Data
object (mm.DownloadVoiceResponse) 
可选
BaseResponse
object (mm.BaseResponse) 
可选
cancelFlag
integer 
可选
clientMsgId
string 
可选
data
object (mm.SKBuiltinBufferT) 
可选
endFlag
integer 
可选
length
integer 
可选
msgId
integer 
可选
newMsgId
integer 
可选
offset
integer 
可选
voiceLength
integer 
可选
Message
string 
可选
Success
boolean 
可选
示例
{
  "Code": 0,
  "Data": {
    "BaseResponse": {
      "errMsg": {
        "string": "string"
      },
      "ret": 0
    },
    "cancelFlag": 0,
    "clientMsgId": "string",
    "data": {
      "buffer": [
        0
      ],
      "iLen": 0
    },
    "endFlag": 0,
    "length": 0,
    "msgId": 0,
    "newMsgId": 0,
    "offset": 0,
    "voiceLength": 0
  },
  "Message": "string",
  "Success": true
}
上一页
/DownloadVideo
下一页
/GetCdnDns
Built with