Comments (2)
🖕 直接鄙视楼上两个
xmlMsg.content = `<?xml version="1.0"?>
<msg>
<appmsg appid="wx5aa333606550dfd5" sdkver="0">
<title>嘉宾</title>
<des>张远</des>
<action>view</action>
<type>3</type>
<showtype>0</showtype>
<content />
<url>https://i.y.qq.com/v8/playsong.html?hosteuin=oK6kowEAoK4z7eSqoi6F7iCPon**&sharefrom=&from_id=0&from_idtype=0&from_name=&songid=281506863&songmid=&type=0&platform=(10rpl)&appsongtype=(11rpl)&_wv=1&source=qq&appshare=iphone&media_mid=000CsplS4eA2jd&ADTAG=wxfshare</url>
<dataurl>http://c6.y.qq.com/rsc/fcgi-bin/fcg_pyq_play.fcg?songid=0&songmid=001i36ji0C8Cov&songtype=1&fromtag=46&uin=1152921504793187640&code=c135e</dataurl>
<lowurl />
<lowdataurl />
<recorditem>(null)</recorditem>
<thumburl />
<messageaction />
<laninfo />
<md5>aa6e1c793929a0edfdda69aed5906c58</md5>
<extinfo />
<sourceusername />
<sourcedisplayname />
<commenturl />
<appattach>
<totallen>0</totallen>
<attachid />
<emoticonmd5 />
<fileext>jpg</fileext>
<filekey>9bb604b62db7008a6c269937ef1a2623</filekey>
<cdnthumburl>3057020100044b30490201000204fbbf095802032f5aa90204d1996971020464d335da042437623063666463352d393037392d343163392d383831372d3064343633353238626230390204011808030201000405004c537500</cdnthumburl>
<aeskey>58ed62307de144f5bd0e9c6378fa94bb</aeskey>
<cdnthumbaeskey>58ed62307de144f5bd0e9c6378fa94bb</cdnthumbaeskey>
<encryver>1</encryver>
<cdnthumblength>6571</cdnthumblength>
<cdnthumbheight>100</cdnthumbheight>
<cdnthumbwidth>100</cdnthumbwidth>
</appattach>
<weappinfo>
<pagepath />
<username />
<appid />
<appservicetype>0</appservicetype>
</weappinfo>
<websearch />
</appmsg>
<fromusername>xxxx</fromusername>
<scene>0</scene>
<appinfo>
<version>53</version>
<appname>QQ音乐</appname>
</appinfo>
<commenturl></commenturl>
</msg>`
// 利用消息转发 debug 可知此消息类型为 49,直接构造 xml 调用 forwardMessage 接口即可
await bot.puppet.messageForward(talker.id, message.id)
const response = await bot.puppet._client.api.forwardMessage(new Date().getTime(), talker.id, xmlMsg.content, 49, talker.id);
from puppet-padlocal.
from puppet-padlocal.
Related Issues (20)
- to be delete
- foreign IP login, account got banned
- 能否实现添加企业微信联系人
- 分享出去的小程序打不开
- 客服联系不上。。。。。。。。。。。。。。。。。。。 HOT 1
- 启动服务失败,一直出现 Exception while handling wechat request: long link send request timeout HOT 1
- `room-join`事件未触发
- 客服始终联系不上,有问题 也无法及时解答 HOT 14
- 最新微信ipad协议 http://wx.ixiaohe.top
- 能不能新增转账和红包接口
- 获取微信好友丢失
- 今天无法正常登录,扫码后会再次弹出二维码 HOT 1
- 请教一下如何发送小程序链接呢,我看文档上面new MiniProgram,但是MiniProgram从哪里导入 HOT 2
- message.mentionList() has an unexpected error
- 图片无法接受和保存在本地
- .
- .
- 如何在两台设备上工作? HOT 1
- ...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-padlocal.