{
"type": "sendCardXmlMessage",
"params": {
"robotId": "当前机器人微信ID",
"instanceId": "实例id 和 robotId 二者填一者就可以",
"wxId": "接收方微信id",
"xml": "<?xml version=\\\"1.0\\\"?><msg><appmsg appid=\\\"\\\" sdkver=\\\"0\\\"><title>哈咯</title><username /><action>view</action><type>33</type><showtype>0</showtype><content /><contentattr>0</contentattr><androidsource>3</androidsource><sourceusername>gh_6506303a12bb@app</sourceusername><sourcedisplayname>点我进入饿了么</sourcedisplayname><commenturl /><thumburl></thumburl><weappinfo><username>gh_6506303a12bb@app</username><version>4</version><pagepath><![CDATA[pages/index/index.html]]></pagepath><type>2</type><appservicetype>0</appservicetype></weappinfo><statextstr /><websearch /></appmsg><fromusername>wxid_nq6r0w9v12612</fromusername><scene>0</scene><appinfo><version>1</version><appname></appname></appinfo></msg>"
}
}
curl --location --request POST 'http://localhost:10001/api/processor' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "sendCardXmlMessage",
"params": {
"robotId": "当前机器人微信ID",
"instanceId": "实例id 和 robotId 二者填一者就可以",
"wxId": "接收方微信id",
"xml": "<?xml version=\\\"1.0\\\"?><msg><appmsg appid=\\\"\\\" sdkver=\\\"0\\\"><title>哈咯</title><username /><action>view</action><type>33</type><showtype>0</showtype><content /><contentattr>0</contentattr><androidsource>3</androidsource><sourceusername>gh_6506303a12bb@app</sourceusername><sourcedisplayname>点我进入饿了么</sourcedisplayname><commenturl /><thumburl></thumburl><weappinfo><username>gh_6506303a12bb@app</username><version>4</version><pagepath><![CDATA[pages/index/index.html]]></pagepath><type>2</type><appservicetype>0</appservicetype></weappinfo><statextstr /><websearch /></appmsg><fromusername>wxid_nq6r0w9v12612</fromusername><scene>0</scene><appinfo><version>1</version><appname></appname></appinfo></msg>"
}
}'
{
"code": 200,
"description": "发送成功",
"time": 1716704721419,
"data": {
"robotId": "string",
"instanceId": "string"
}
}