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

/SendCardMsg

POST
/SendCardMsg
Message
发送名片消息

请求参数

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

返回响应

🟢200OK
application/json
Body
Code
integer 
可选
Data
object (mm.NewSendMsgRespone) 
可选
BaseResponse
object (mm.BaseResponse) 
可选
Count
integer 
可选
List
array[object (mm.NewMsgResponeNew) {8}] 
可选
NoKnow
integer 
可选
Message
string 
可选
Success
boolean 
可选
示例
{
    "Code": 0,
    "Data": {
        "BaseResponse": {
            "errMsg": {
                "string": "string"
            },
            "ret": 0
        },
        "Count": 0,
        "List": [
            {
                "ClientMsgid": 0,
                "Createtime": 0,
                "MsgId": 0,
                "NewMsgId": 0,
                "Ret": 0,
                "ToUsetName": {
                    "string": "string"
                },
                "Type": 0,
                "servertime": 0
            }
        ],
        "NoKnow": 0
    },
    "Message": "string",
    "Success": true
}
修改于 2025-02-18 03:50:52
上一页
/SendCDNVideoMsg
下一页
/SendEmojiMsg
Built with