XYBotV2协议接口
  1. Message
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
    • /CheckDatabaseOK
    • /DownloadAttach
    • /DownloadImg
    • /DownloadVideo
    • /DownloadVoice
    • /GetCdnDns
    • /IsRunning
    • /SetProxy
    • /SetStep
  • HongBao
    • /GetHongBaoDetail
  • User
    • /GetMyQRCode
    • /GetProfile
  • Message
    • /RevokeMsg
      POST
    • /SendAppMsg
      POST
    • /SendCDNFileMsg
      POST
    • /SendCDNImgMsg
      POST
    • /SendCDNVideoMsg
      POST
    • /SendCardMsg
      POST
    • /SendEmojiMsg
      POST
    • /SendImageMsg
      POST
    • /SendShareLink
      POST
    • /SendTextMsg
      POST
    • /SendVideoMsg
      POST
    • /SendVoiceMsg
      POST
    • /Sync
      POST
  1. Message

/SendCDNImgMsg

POST
/SendCDNImgMsg
Message
发送CDN图片消息(转发图片消息)

请求参数

Body 参数application/json
Content
string 
必需
ToWxid
string 
必需
Wxid
string 
必需
示例
{
  "Content": "string",
  "ToWxid": "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 '/SendCDNImgMsg' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Content": "string",
    "ToWxid": "string",
    "Wxid": "string"
}'

返回响应

🟢200OK
application/json
Body
Code
integer 
可选
Data
object (mm.UploadMsgImgResponse) 
可选
Aeskey
string 
可选
BaseResponse
object (mm.BaseResponse) 
可选
ClientImgId
object (mm.SKBuiltinStringT) 
可选
CreateTime
integer 
可选
DataLen
integer 
可选
Fileid
string 
可选
FromUserName
object (mm.SKBuiltinStringT) 
可选
MsgSource
string 
可选
Msgid
integer 
可选
Newmsgid
integer 
可选
StartPos
integer 
可选
ToWxid
object (mm.SKBuiltinStringT) 
可选
TotalLen
integer 
可选
Message
string 
可选
Success
boolean 
可选
示例
{
  "Code": 0,
  "Data": {
    "Aeskey": "string",
    "BaseResponse": {
      "errMsg": {
        "string": "string"
      },
      "ret": 0
    },
    "ClientImgId": {
      "string": "string"
    },
    "CreateTime": 0,
    "DataLen": 0,
    "Fileid": "string",
    "FromUserName": {
      "string": "string"
    },
    "MsgSource": "string",
    "Msgid": 0,
    "Newmsgid": 0,
    "StartPos": 0,
    "ToWxid": {
      "string": "string"
    },
    "TotalLen": 0
  },
  "Message": "string",
  "Success": true
}
上一页
/SendCDNFileMsg
下一页
/SendCDNVideoMsg
Built with