Comments (2)
Thanks for your feedback, investigating now.
from puppet-padlocal.
When I was using the older donut version, it was still working fine, with the format of:
Quoted message
- - - - - - - - - - - - - - - -
New message
Do we need a new Message.Type
I think the above format look good, no special handing. Else, everyone has to change their code, just to hand things that had been working before.
Could we have a look on this issue?
Yes, please!! Here is the full string
WechatifiedMessage {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
id: '523002399384029297',
payload: {
id: '523002399384029297',
timestamp: 1615775365,
type: 0,
fromId: 'wxid_5ciz22bbk91g22',
mentionIdList: [],
roomId: undefined,
text: '<?xml version="1.0"?>\n' +
'<msg>\n' +
'\t<appmsg appid="" sdkver="0">\n' +
'\t\t<title>再测试</title>\n' +
'\t\t<des />\n' +
'\t\t<username />\n' +
'\t\t<action>view</action>\n' +
'\t\t<type>57</type>\n' +
'\t\t<showtype>0</showtype>\n' +
'\t\t<content />\n' +
'\t\t<url />\n' +
'\t\t<lowurl />\n' +
'\t\t<dataurl />\n' +
'\t\t<lowdataurl />\n' +
'\t\t<contentattr>0</contentattr>\n' +
'\t\t<streamvideo>\n' +
'\t\t\t<streamvideourl />\n' +
'\t\t\t<streamvideototaltime>0</streamvideototaltime>\n' +
'\t\t\t<streamvideotitle />\n' +
'\t\t\t<streamvideowording />\n' +
'\t\t\t<streamvideoweburl />\n' +
'\t\t\t<streamvideothumburl />\n' +
'\t\t\t<streamvideoaduxinfo />\n' +
'\t\t\t<streamvideopublishid />\n' +
'\t\t</streamvideo>\n' +
'\t\t<canvasPageItem>\n' +
'\t\t\t<canvasPageXml><![CDATA[]]></canvasPageXml>\n' +
'\t\t</canvasPageItem>\n' +
'\t\t<refermsg>\n' +
'\t\t\t<type>1</type>\n' +
'\t\t\t<svrid>9133383853513826095</svrid>\n' +
'\t\t\t<fromusr>wxid_5ciz22bbk91g22</fromusr>\n' +
'\t\t\t<chatusr>wxid_5ciz22bbk91g22</chatusr>\n' +
'\t\t\t<displayname>From_WX_ID</displayname>\n' +
'\t\t\t<msgsource />\n' +
'\t\t\t<content>测试</content>\n' +
'\t\t</refermsg>\n' +
'\t\t<appattach>\n' +
'\t\t\t<totallen>0</totallen>\n' +
'\t\t\t<attachid />\n' +
'\t\t\t<cdnattachurl />\n' +
'\t\t\t<emoticonmd5 />\n' +
'\t\t\t<aeskey />\n' +
'\t\t\t<fileext />\n' +
'\t\t\t<islargefilemsg>0</islargefilemsg>\n' +
'\t\t</appattach>\n' +
'\t\t<extinfo />\n' +
'\t\t<androidsource>0</androidsource>\n' +
'\t\t<thumburl />\n' +
'\t\t<mediatagname />\n' +
'\t\t<messageaction><![CDATA[]]></messageaction>\n' +
'\t\t<messageext><![CDATA[]]></messageext>\n' +
'\t\t<emoticongift>\n' +
'\t\t\t<packageflag>0</packageflag>\n' +
'\t\t\t<packageid />\n' +
'\t\t</emoticongift>\n' +
'\t\t<emoticonshared>\n' +
'\t\t\t<packageflag>0</packageflag>\n' +
'\t\t\t<packageid />\n' +
'\t\t</emoticonshared>\n' +
'\t\t<designershared>\n' +
'\t\t\t<designeruin>0</designeruin>\n' +
'\t\t\t<designername>null</designername>\n' +
'\t\t\t<designerrediretcturl>null</designerrediretcturl>\n' +
'\t\t</designershared>\n' +
'\t\t<emotionpageshared>\n' +
'\t\t\t<tid>0</tid>\n' +
'\t\t\t<title>null</title>\n' +
'\t\t\t<desc>null</desc>\n' +
'\t\t\t<iconUrl>null</iconUrl>\n' +
'\t\t\t<secondUrl>null</secondUrl>\n' +
'\t\t\t<pageType>0</pageType>\n' +
'\t\t</emotionpageshared>\n' +
'\t\t<webviewshared>\n' +
'\t\t\t<shareUrlOriginal />\n' +
'\t\t\t<shareUrlOpen />\n' +
'\t\t\t<jsAppId />\n' +
'\t\t\t<publisherId />\n' +
'\t\t</webviewshared>\n' +
'\t\t<template_id />\n' +
'\t\t<md5 />\n' +
'\t\t<weappinfo>\n' +
'\t\t\t<username />\n' +
'\t\t\t<appid />\n' +
'\t\t\t<appservicetype>0</appservicetype>\n' +
'\t\t\t<videopageinfo>\n' +
'\t\t\t\t<thumbwidth>0</thumbwidth>\n' +
'\t\t\t\t<thumbheight>0</thumbheight>\n' +
'\t\t\t\t<fromopensdk>0</fromopensdk>\n' +
'\t\t\t</videopageinfo>\n' +
'\t\t</weappinfo>\n' +
'\t\t<statextstr />\n' +
'\t\t<musicShareItem>\n' +
'\t\t\t<musicDuration>0</musicDuration>\n' +
'\t\t</musicShareItem>\n' +
'\t\t<findernamecard>\n' +
'\t\t\t<username />\n' +
'\t\t\t<avatar><![CDATA[]]></avatar>\n' +
'\t\t\t<nickname />\n' +
'\t\t\t<auth_job />\n' +
'\t\t\t<auth_icon>0</auth_icon>\n' +
'\t\t\t<auth_icon_url />\n' +
'\t\t</findernamecard>\n' +
'\t\t<finderEndorsement>\n' +
'\t\t\t<scene><![CDATA[0]]></scene>\n' +
'\t\t</finderEndorsement>\n' +
'\t\t<directshare>0</directshare>\n' +
'\t\t<gamecenter>\n' +
'\t\t\t<namecard>\n' +
'\t\t\t\t<iconUrl />\n' +
'\t\t\t\t<name />\n' +
'\t\t\t\t<desc />\n' +
'\t\t\t\t<tail />\n' +
'\t\t\t\t<jumpUrl />\n' +
'\t\t\t</namecard>\n' +
'\t\t</gamecenter>\n' +
'\t\t<patMsg>\n' +
'\t\t\t<chatUser>null</chatUser>\n' +
'\t\t\t<records>\n' +
'\t\t\t\t<recordNum>0</recordNum>\n' +
'\t\t\t</records>\n' +
'\t\t</patMsg>\n' +
'\t\t<websearch>\n' +
'\t\t\t<rec_category>0</rec_category>\n' +
'\t\t\t<channelId>0</channelId>\n' +
'\t\t</websearch>\n' +
'\t</appmsg>\n' +
'\t<fromusername>wxid_5ciz22bbk91g22</fromusername>\n' +
'\t<scene>0</scene>\n' +
'\t<appinfo>\n' +
'\t\t<version>1</version>\n' +
'\t\t<appname></appname>\n' +
'\t</appinfo>\n' +
'\t<commenturl></commenturl>\n' +
'</msg>\n',
toId: 'wxid_5ciz22bbk91g22'
},
[Symbol(kCapture)]: false
}
from puppet-padlocal.
Related Issues (20)
- 在本地使用docker 搭建的环境可以运行吗? HOT 2
- 购买了token,一直不给开发票,需要报销的慎重考虑
- 千万别买,说是给发票,现在不理人
- auto logged out
- 这个项目是不是没人负责了?
- 多个项目 多个wechat bot能同时用同一个token吗? HOT 1
- 需要二狗机器人代码的找我vx:codermie HOT 1
- 通过手机号搜索联系人,并添加好友,手机号不存在时报错
- ERROR [ExceptionsHandler] this.friendshipSearchHandle is not a function
- Error: can not find message in cache for messageId:1587692271032419038
- 这个项目还在维护么? HOT 8
- 使用padlocal方式,docker容器启动正常,连接验证通过,但服务启动链接超时 HOT 3
- 如何连接到企业微信个人号呢
- TypeScript版本从 5.4.2 降低到 5, 仍然报错. 有什么办法解决吗?
- 微信ipad协议 本地 部署包 接口(多功能、防封)
- bot.Friendship.add()添加群内好友时,报错UserName is required HOT 1
- Contact this.wechaty.puppet.contactFindAll() rejected: filterValue not found for filterKey: id
- 发送语音失败,还是变成文件 HOT 5
- --
- when will customer online? 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.