怎么构造那种小程序卡片呢?
-
像上面那种图片一样的但是不能被点击,因为点击没有任何反应,下面是获取到的json字符,感谢大佬们了{ "app": "com.tencent.gxhServiceIntelligentTip", "desc": "狗妈", "view": "gxhServiceIntelligentTip", "bizsrc": "", "ver": "", "prompt": "喵喵喵~", "appID": "", "sourceName": "", "actionData": "", "actionData_A": "", "sourceUrl": "", "meta": { "gxhServiceIntelligentTip": { "action": "", "appid": "gxhServiceIntelligentTip", "bgImg": "http://p.qlogo.cn/homework/0/hw_h_5sqy32gbfywwccc65dd9e9285dd1/0/1", "reportParams": {} } }, "config": { "autoSize": 0, "ctime": 1691351380, "forward": 1, "height": 800, "token": "56fb9e3906cbff5071fe2d0beead51e0", "type": "normal", "width": 600 }, "text": "shiyan", "extraApps": [], "sourceAd": "", "extra": "" }
-
LightApp app = new LightApp();
用上面的方法能够发出去,但是自己按照格式改了一下后可以在mirai后台看到输出但是客户端不能看到东西
-
发 json 消息需要签名(不是签名服务),即
token
的值。没有签名就发出去看不到 -
@MrXiaoM 大佬知道怎么获取这个签名吗
-
@hhhh 我不知道
-
@MrXiaoM 那好吧,谢谢大佬了