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

/GetContractDetail

POST
/GetContractDetail
Friend
获取联系人详情

请求参数

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

返回响应

🟢200OK
application/json
Body
Code
integer 
可选
Data
object (mm.GetContactResponse) 
可选
BaseResponse
object (mm.BaseResponse) 
可选
ContactCount
integer 
可选
ContactList
array[object (mm.ModContacts) {67}] 
可选
Ret
array[integer]
可选
Ticket
array[object (mm.VerifyUserValidTicket) {2}] 
可选
sendMsgTicketList
array [array] 
未找到相关PB
可选
Message
string 
可选
Success
boolean 
可选
示例
{
    "Code": 0,
    "Data": {
        "BaseResponse": {
            "errMsg": {
                "string": "string"
            },
            "ret": 0
        },
        "ContactCount": 0,
        "ContactList": [
            {
                "AddContactScene": 0,
                "AdditionalContactList": {
                    "LinkedinContactItem": {
                        "LinkedinMemberId": "string",
                        "LinkedinName": "string",
                        "LinkedinPublicUrl": "string"
                    }
                },
                "AlbumBgimgId": "string",
                "AlbumFlag": 0,
                "AlbumStyle": 0,
                "Alias": "string",
                "BigHeadImgUrl": "string",
                "BitMask": 0,
                "BitVal": 0,
                "CardImgUrl": "string",
                "ChatRoomData": "string",
                "ChatRoomNotify": 0,
                "ChatRoomOwner": "string",
                "ChatroomAccessType": 0,
                "ChatroomInfoVersion": 0,
                "ChatroomMaxCount": 0,
                "ChatroomStatus": 0,
                "ChatroomVersion": 0,
                "City": "string",
                "ContactType": 0,
                "Country": "string",
                "CustomizedInfo": {
                    "BrandFlag": 0,
                    "BrandIconURL": "string",
                    "BrandInfo": "string",
                    "ExternalInfo": "string"
                },
                "DeleteContactScene": 0,
                "DeleteFlag": 0,
                "Description": "string",
                "DomainList": {
                    "string": "string"
                },
                "EncryptUserName": "string",
                "ExtFlag": 0,
                "ExtInfo": "string",
                "HasWeiXinHdHeadImg": 0,
                "HeadImgMd5": "string",
                "IdcardNum": "string",
                "ImgBuf": {
                    "buffer": [
                        0
                    ],
                    "iLen": 0
                },
                "ImgFlag": 0,
                "LabelIdlist": "string",
                "Level": 0,
                "MobileFullHash": "string",
                "MobileHash": "string",
                "MyBrandList": "string",
                "NewChatroomData": {
                    "ChatRoomMember": [
                        {
                            "BigHeadImgUrl": "string",
                            "ChatroomMemberFlag": 0,
                            "DisplayName": "string",
                            "InviterUserName": "string",
                            "NickName": "string",
                            "SmallHeadImgUrl": "string",
                            "UserName": "string"
                        }
                    ],
                    "InfoMask": 0,
                    "MemberCount": 0
                },
                "NickName": {
                    "string": "string"
                },
                "PersonalCard": 0,
                "PhoneNumListInfo": {
                    "Count": 0,
                    "PhoneNumList": [
                        "string"
                    ]
                },
                "Province": "string",
                "Pyinitial": {
                    "string": "string"
                },
                "QuanPin": {
                    "string": "string"
                },
                "RealName": "string",
                "Remark": {
                    "string": "string"
                },
                "RemarkPyinitial": {
                    "string": "string"
                },
                "RemarkQuanPin": {
                    "string": "string"
                },
                "RoomInfoCount": 0,
                "RoomInfoList": [
                    {
                        "NickName": {
                            "string": "string"
                        },
                        "UserName": {
                            "string": "string"
                        }
                    }
                ],
                "Sex": 0,
                "Signature": "string",
                "SmallHeadImgUrl": "string",
                "SnsUserInfo": {
                    "SnsBgimgId": "string",
                    "SnsBgobjectId": 0,
                    "SnsFlag": 0,
                    "SnsFlagEx": 0
                },
                "Source": 0,
                "SourceExtInfo": "string",
                "UserName": {
                    "string": "string"
                },
                "VerifyContent": "string",
                "VerifyFlag": 0,
                "VerifyInfo": "string",
                "WeiDianInfo": "string",
                "Weibo": "string",
                "WeiboFlag": 0,
                "WeiboNickname": "string",
                "chatRoomBusinessType": 0
            }
        ],
        "Ret": [
            0
        ],
        "Ticket": [
            {
                "Antispamticket": "string",
                "Username": "string"
            }
        ],
        "sendMsgTicketList": [
            [
                0
            ]
        ]
    },
    "Message": "string",
    "Success": true
}
修改于 2025-02-18 03:50:52
上一页
/GetContact
下一页
/GetContractList
Built with