擎天Lv51   
QQ跳转个人资料的接口     
mqqapi://card/show_pslcard?src_type=internal&source=sharecard&version=1&uin=752875318


把752875318换成你自己的QQ

然后把这段代码放进一个支持跳转的卡片中即可


如果使用机器人给每个人生成


可以写成


mqqapi://card/show_pslcard?src_type=internal&source=sharecard&version=1&uin=$QQ$


$QQ$代表触发指令的人的QQ


以全能卡片为例:


代码为:

{"app":"com.tencent.structmsg","desc":"新闻","view":"news","ver":"0.0.0.1","prompt":"","meta":{"news":{"title":"擎天论坛","desc":"卡片代码\/各种工具\/机器人配置","preview":"http:\/\/img.bbs.miguan.net.cn\/1_20190513070010.png","tag":"QTXML.CN","jumpUrl":"http:\/\/bbs.miguan.net.cn","appid":100446242,"app_type":1,"action":"","source_url":"","source_icon":"","android_pkg_name":""}}}


将跳转的链接替换绿色加粗部分


{"app":"com.tencent.structmsg","desc":"新闻","view":"news","ver":"0.0.0.1","prompt":"","meta":{"news":{"title":"擎天论坛","desc":"卡片代码\/各种工具\/机器人配置","preview":"http:\/\/img.bbs.miguan.net.cn\/1_20190513070010.png","tag":"QTXML.CN","jumpUrl":"mqqapi://card/show_pslcard?src_type=internal&source=sharecard&version=1&uin=$QQ$","appid":100446242,"app_type":1,"action":"","source_url":"","source_icon":"","android_pkg_name":""}}}


写成自动的小游戏就是:


制作跳转 {"app":"com.tencent.structmsg","desc":"新闻","view":"news","ver":"0.0.0.1","prompt":"","meta":{"news":{"title":"擎天论坛","desc":"卡片代码\/各种工具\/机器人配置","preview":"http:\/\/img.bbs.miguan.net.cn\/1_20190513070010.png","tag":"QTXML.CN","jumpUrl":"mqqapi://card/show_pslcard?src_type=internal&source=sharecard&version=1&uin=$QQ$","appid":100446242,"app_type":1,"action":"","source_url":"","source_icon":"","android_pkg_name":""}}}


在“更多小游戏文件夹”新建txt或者放入别的txt中


群成员发送“制作跳转”会自动回复后面的代码,机器人发出是卡片形式。

 1  已被阅读了1979次  楼主 2020-02-13 23:02:00
回复列表
大考
2F
大考Lv0 
feeeefefef
 0   2020-02-17 00:08:58  回复
Powered by HadSky 7.4.3
© 2015-2020 擎天论坛
您的IP:3.92.74.105,2020-09-28 12:45:56,Processed in 0.61382 second(s).
Powered by HadSky
已有0次打赏




免责声明
1、本帖所有言论和图片属于发帖人个人意见,与本论坛立场无关;
2、本贴由该帖子作者发表,该帖子作者与擎天论坛享有帖子相关版权;
3、其他单位或个人使用、转载或引用本文时必须同时征得该帖子作者和擎天论坛的同意;
4、帖子作者须承担一切因本文发表而直接或间接导致的民事或刑事法律责任;
5、本帖部分内容转载自其它媒体,但并不代表本站赞同其观点和对其真实性负责;
6、如本帖侵犯到任何版权问题,请告知本站,本站将及时删除并致以最深的歉意;
7、擎天论坛管理员和版主有权不事先通知发贴者而删除本文。
8、帖子内容如果包含各种违法、违规、欺诈、无效等问题,
点我举报

侵删:admin@qtxml.cn
快捷回复