ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
>[danger] 卡片菜单如何添加? ![](https://img.kancloud.cn/8d/d3/8dd31002d2d653a1161d3eb5c5c127e4_304x463.png) 演示代码1: ``` {"app":"com.tencent.qqpay.qqmp.groupmsg","desc":"","view":"groupPushView","ver":"1.0.0.7","prompt":"卡片菜单","meta":{"groupPushData":{"time":"","cancel_url":"http:\/\/www.baidu.com","fromIcon":"","report_url":"http:\/\/kf.qq.com\/faq\/180522RRRVvE180522NzuuYB.html","bannerLink":"","fromName":"name","summaryTxt":"\u2600新人系统 提示系统 黑白系统\u2600\n\u2600名片系统 禁言系统 验证系统\u2600\n\u2600群管系统 定时功能 签到系统\u2600\n\u2600邀请系统 主人系统 撤回系统\u2600\n\u2600鉴黄系统 图文识别 闪照还原\u2600\n\u2600人数控制 问答系统 发卡系统\u2600\n\u2600充值系统 提现系统 积分系统\u2600\n\u2600娱乐系统 便民工具 站长工具\u2600\n\u2600针对系统 授权系统 统计系统\u2600\n\u2600出租系统 引流系统 运行状态\u2600\n","bannerImg":"http:\/\/gchat.qpic.cn\/gchatpic_new\/2110357887\/663453430-3111911097-C8FA7E7E2F270220A401024C227CC812\/0?term=2","bannerTxt":"卡片菜单","item1Img":""}}} ``` 演示代码2: ``` {"app":"com.tencent.miniapp_01","desc":"","view":"notification","ver":"1.0.0.11","prompt":"卡片菜单2","appID":"","sourceName":"","actionData":"","actionData_A":"","sourceUrl":"","meta":{"notification":{"appInfo":{"appName":"交流群:821298588","appType":4,"appid":2174398127,"iconUrl":"http:\/\/p.qlogo.cn\/gh\/821298588/821298588/100"},"button":[{"action":"https:\/\/wpa.qq.com\/msgrd?v=3&uin=1248481|&site=qq&menu=yes","name":"1248481"},{"action":"","name":"1248481"}],"data":[{"value":"新人系统|提示系统|黑白系统\n名片系统|禁言系统|验证系统\n群管系统|定时功能|签到系统\n邀请系统|主人系统|撤回系统\n鉴黄系统|图文识别|闪照还原\n人数控制|问答系统|发卡系统\n充值系统|提现系统|积分系统\n娱乐系统|便民工具|站长工具\n针对系统|授权系统|统计系统\n出租系统|引流系统|运行状态"}],"emphasis_keyword":"","title":"自定义菜单"}},"text":"","extraApps":[],"sourceAd":"","extra":""} ``` 也可以使用其他代码,以上代码不一定长期有效。变量自己替换,其他地方也支持JSON卡片,代码自行研究。