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

/RevokeMsg

POST
/RevokeMsg
Message
撤回消息

请求参数

Body 参数application/json
ClientMsgId
integer 
可选
CreateTime
integer 
可选
NewMsgId
integer 
可选
ToWxid
string 
必需
Wxid
string 
必需
示例
{
  "ClientMsgId": 0,
  "CreateTime": 0,
  "NewMsgId": 0,
  "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 '/RevokeMsg' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ClientMsgId": 0,
    "CreateTime": 0,
    "NewMsgId": 0,
    "ToWxid": "string",
    "Wxid": "string"
}'

返回响应

🟢200OK
application/json
Body
Code
integer 
可选
Data
object (mm.RevokeMsgResponse) 
可选
BaseResponse
object (mm.BaseResponse) 
可选
introduction
string 
可选
isysWording
string 
可选
Message
string 
可选
Success
boolean 
可选
示例
{
  "Code": 0,
  "Data": {
    "BaseResponse": {
      "errMsg": {
        "string": "string"
      },
      "ret": 0
    },
    "introduction": "string",
    "isysWording": "string"
  },
  "Message": "string",
  "Success": true
}
上一页
/GetProfile
下一页
/SendAppMsg
Built with