XYBotV2协议接口
  1. Friend
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. Friend

/GetContractList

POST
/GetContractList
Friend
获取联系人列表

请求参数

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

返回响应

🟢200OK
application/json
Body
Code
integer 
可选
Data
object (mm.InitContactResponse) 
可选
BaseResponse
object (mm.BaseResponse) 
可选
ContactUsernameList
array[string]
可选
CountinueFlag
integer 
可选
CurrentChatRoomContactSeq
integer 
可选
CurrentWxcontactSeq
integer 
可选
Message
string 
可选
Success
boolean 
可选
示例
{
  "Code": 0,
  "Data": {
    "BaseResponse": {
      "errMsg": {
        "string": "string"
      },
      "ret": 0
    },
    "ContactUsernameList": [
      "string"
    ],
    "CountinueFlag": 0,
    "CurrentChatRoomContactSeq": 0,
    "CurrentWxcontactSeq": 0
  },
  "Message": "string",
  "Success": true
}
上一页
/GetContractDetail
下一页
/AddChatroomMember
Built with