QQ发送卡片消息
具体的使用教程,我在B站发了视频,链接
今天早上在某个群,看到一个红包,我就点了,点击去发现是一个购物群。然后我直接把群退了,然后把源代码给他复制了下来。
现在整理一下
以下部分内容,像图片链接、跟文字内容都是空的,自己自行往里面加入即可。
有点链接,不带cdn.vip.qq.com是打不开的,有兴趣自行研究吧。
以下代码放心使用,内部无推广链接、加群邀请等。
回执消息s
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><msg serviceID="107" templateID="1" action="viewReceiptMessage" brief="" m_resid="" m_fileName="6862690782327914927" sourceMsgId="0" url="" flag="3" adverSign="0" multiMsgFlag="0"><item layout="29" advertiser_id="0" aid="0"><type>1</type></item><source name="" icon="" action="" appid="-1" /></msg>
王者荣耀点券
{"app":"com.tencent.gamecenter.wzryRedpack","desc":"","view":"indexView","ver":"1.0.0.1","prompt":"[王者荣耀]点券","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"appid":"1104466820","bgUrl":"http://imgcache.gtimg.cn/ark_msg/202001101435_1dianquan.png?ts=1578638150326","buttons":[{"bgUrl":"http:\/\/imgcache.gtimg.cn\/ark_msg\/202001101436_anniu.png?ts=1578638168399","jumpUrl":"https:\/\/cdn.vip.qq.com\/club\/themes\/mobile\/middle_page\/index.html?url=https://meethigher.top/"}],"gamedata":"RedEnvelopeMsg_1_932630632774173750","jumpUrl":"https:\/\/cdn.vip.qq.com\/club\/themes\/mobile\/middle_page\/index.html?url=https://meethigher.top/"}},"config":{"config":{"type":"normal"},"ctime":1587447079,"token":"5050ace6eed03ce46e86314d846f3ed0"},"text":"","extraApps":[],"sourceAd":"","extra":""}
王者荣耀皮肤碎片
{"app":"com.tencent.gamecenter.wzryRedpack","desc":"","view":"indexView","ver":"1.0.0.1","prompt":"[王者荣耀]皮肤碎片","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"appid":"1104466820","bgUrl":"http://imgcache.gtimg.cn/ark_msg/202001101442_6pifusuipian.png?ts=1578638530997","buttons":[{"bgUrl":"http:\/\/imgcache.gtimg.cn\/ark_msg\/202001101442_anniu.png?ts=1578638541669","jumpUrl":"http:\/\/h5.vip.qq.com\/p\/cgireport\/cgi-bin\/handle?dc=10535&adId=81046&posId=85&classId=36&url="}],"gamedata":"RedEnvelopeMsg_1_17568364407905649653","jumpUrl":"app","scene":"MSG_WZZD_PFSP_ARK"}},"config":{"config":{"type":"normal"},"ctime":1582893526,"token":"a50cac990543523e54f06efcab1801f3"},"text":"","extraApps":[],"sourceAd":"","extra":""}
匿名聊天加入
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"匿名聊天 ","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"http://shp.qpic.cn/collector/2891404183/fe660152-4179-4669-bd8f-690289d389c2/0","mainUrl":"mqqapi%3A%2F%2Fforward%2Furl%3Furl_prefix%3Dhttps://meethigher.top/"}},"text":"","sourceAd":""}
周年福利,人人可领
{"app":"com.tencent.qqVipGame_v2","desc":"","view":"template","ver":"1.0.0.8","prompt":"周年福利人人可领","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"template":{"DATA10":"","DATA11":"","DATA12":"","DATA13":"","DATA14":"http:\/\/h5.vip.qq.com\/p\/cgireport\/cgi-bin\/handle?dc=10535&adId=81046&posId=85&classId=36&url=https://meethigher.top","DATA15":"","DATA16":"","DATA7":"https:\/\/tianshu.gtimg.cn\/tianshu\/1597632725271.png","DATA8":"","DATA9":"","time":""}},"text":"","extraApps":[],"sourceAd":""}
视频跳转卡片
{"app":"com.tencent.gamecenter.gameshare","desc":"","view":"noDataView","ver":"0.0.0.1","prompt":"大话西游","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"shareData":{"height":360,"scene":"SCENE_SHARE_VIDEO","buttons":[{"url":"http:\/\/h5.vip.qq.com\/p\/cgireport\/cgi-bin\/handle?dc=10535&adId=81046&posId=85&classId=36&url=","text":"点就恶搞你"}],"jumpUrl":"https:\/\/game.gtimg.cn\/images\/cfm\/act\/a20190620act\/index.mp4","width":640,"type":"video","cover":"","appid":"1104466820cfm","url":"https://game.gtimg.cn/images/yxzj/cp/a20190125dhxy/header_reload.mp4"}},"text":"","sourceAd":"","config":{"forward":1,"showSender":1},"config":{"forward":1,"showSender":1}}
每日风景
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"随机风景照","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"https:\/\/uploadbeta.com\/api\/pictures\/random\/?key=BingEverydayWallpaperPicture","mainUrl":"https://cdn.vip.qq.com/club/client/read/common/transfer.html?_wv=16778247&url=%68%74%74%70%3a%2f%2f%68%35%2e%76%69%70%2e%71%71%2e%63%6f%6d%2f%70%2f%63%67%69%72%65%70%6f%72%74%2f%63%67%69%2d%62%69%6e%2f%68%61%6e%64%6c%65%3f%64%63%3d%31%30%35%33%35%26%61%64%49%64%3d%38%31%30%34%36%26%70%6f%73%49%64%3d%38%35%26%63%6c%61%73%73%49%64%3d%33%36%26%75%72%6c%3d"}},"text":"这里无需填写","sourceAd":""}
每日美女
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"随机美女","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"https:\/\/uploadbeta.com\/api\/pictures\/random\/?key=%E6%8E%A8%E5%A5%B3%E9%83%8E","mainUrl":"https://cdn.vip.qq.com/club/client/read/common/transfer.html?_wv=16778247&url=%68%74%74%70%3a%2f%2f%68%35%2e%76%69%70%2e%71%71%2e%63%6f%6d%2f%70%2f%63%67%69%72%65%70%6f%72%74%2f%63%67%69%2d%62%69%6e%2f%68%61%6e%64%6c%65%3f%64%63%3d%31%30%35%33%35%26%61%64%49%64%3d%38%31%30%34%36%26%70%6f%73%49%64%3d%38%35%26%63%6c%61%73%73%49%64%3d%33%36%26%75%72%6c%3d"}},"text":"","sourceAd":""}
爱他就要告诉他
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"爱Ta就写信告诉Ta","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"http:\/\/tianshu.gtimg.cn\/tianshu\/1598010537642.png","mainUrl":"https://cdn.vip.qq.com/club/client/read/common/transfer.html?_wv=16778247&url=%68%74%74%70%3a%2f%2f%68%35%2e%76%69%70%2e%71%71%2e%63%6f%6d%2f%70%2f%63%67%69%72%65%70%6f%72%74%2f%63%67%69%2d%62%69%6e%2f%68%61%6e%64%6c%65%3f%64%63%3d%31%30%35%33%35%26%61%64%49%64%3d%38%31%30%34%36%26%70%6f%73%49%64%3d%38%35%26%63%6c%61%73%73%49%64%3d%33%36%26%75%72%6c%3d"}},"text":"","sourceAd":""}
二次元动漫
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"二次元动漫","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"http:\/\/xialinzhijia.club\/wp-img.php","mainUrl":"https://cdn.vip.qq.com/club/client/read/common/transfer.html?_wv=16778247&url=%68%74%74%70%3a%2f%2f%68%35%2e%76%69%70%2e%71%71%2e%63%6f%6d%2f%70%2f%63%67%69%72%65%70%6f%72%74%2f%63%67%69%2d%62%69%6e%2f%68%61%6e%64%6c%65%3f%64%63%3d%31%30%35%33%35%26%61%64%49%64%3d%38%31%30%34%36%26%70%6f%73%49%64%3d%38%35%26%63%6c%61%73%73%49%64%3d%33%36%26%75%72%6c%3d"}},"text":"","sourceAd":""}
最新公告
{"app":"com.tencent.mannounce","desc":"群公告","view":"main","ver":"1.0.0.43","prompt":"[群公告]测试测试","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"mannounce":{"cr":0,"encode":1,"fid":"fb40082100000000cfa6495f004f0c00","gc":"554189051","sign":"1cd3b58df1e8222b7a1dcb44d6b2b8c9","text":"5rWL6K+V5rWL6K+V","title":"576k5YWs5ZGK","tw":1,"uin":"5201314"}},"config":{"ctime":1598662148,"forward":0,"token":"2f4b34dc143c29f9eb6d4f5c057a2e41"},"text":"","sourceAd":""}
网页分享
{"app":"com.tencent.structmsg","desc":"","view":"news","ver":"0.0.0.1","prompt":"[分享]言成的个人博客,记录生活","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"news":{"action":"","android_pkg_name":"","app_type":1,"appid":100951776,"desc":"","jumpUrl":"https://meethigher.top","preview":"https://meethigher.top/images/kitchen.jpg","source_icon":"","source_url":"","tag":"博客","title":"言成的个人博客,记录生活..."}},"text":"","extraApps":[],"sourceAd":""}
QQ红包
{"app":"com.tencent.mobileqq.reading","desc":"","view":"singleImg","ver":"1.0.0.70","prompt":"[QQ红包]恭喜发财!","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"singleImg":{"mainImage":"http:\/\/shp.qpic.cn\/collector\/2891404183\/5fa972cf-6144-460c-b433-d2448cd71968\/0","mainUrl":"mqqapi%3A%2F%2Fforward%2Furl%3Furl_prefix%3D"}},"text":"","sourceAd":""}
QQ会员专属礼物
{"app":"com.tencent.qqVipGame_v2","desc":"","view":"template","ver":"1.0.0.8","prompt":"[QQ会员]专属礼物🎁","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"template":{"DATA10":"","DATA11":"","DATA12":"","DATA13":"","DATA14":"http:\/\/h5.vip.qq.com\/p\/cgireport\/cgi-bin\/handle?dc=10535&adId=81046&posId=85&classId=36&url=","DATA15":"","DATA16":"","DATA7":"https:\/\/tianshu.gtimg.cn\/tianshu\/1595813105678.png","DATA8":"","DATA9":"","time":""}},"text":"","extraApps":[],"sourceAd":""}
欢迎新人
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><msg serviceID="104" templateID="1" action="" brief="新人入群!点击欢迎" sourceMsgId="0" url="" flag="0" adverSign="0" multiMsgFlag="0"><item layout="2" advertiser_id="0" aid="0"><picture cover="" w="0" h="0" /><title>新人入群</title></item><source name="" icon="" action="" appid="0" /></msg>
创建群聊
{"app":"com.tencent.creategroupmsg","desc":"建群消息","view":"main","ver":"0.0.0.1","prompt":"建群成功","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"groupinfo":{"cateid":31,"desc":"群聊创建成功!\n完善资料,让更多人发现你的群!","status":0,"subid":10048,"troopnum":"5201314"}},"config":{"autosize":true,"ctime":1598667529,"forward":true,"token":"0caafb70a5ee9a5e7c8250d85092cb83","type":"normal"},"text":"","extraApps":[],"sourceAd":""}
部分参考资料自xml-json.tk
用来恶搞人真好玩,哈哈