Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace fromId by talkerId, toId by listenerId #187

Open
huan opened this issue Mar 13, 2022 · 5 comments · Fixed by wechaty/puppet-walnut#26
Open

replace fromId by talkerId, toId by listenerId #187

huan opened this issue Mar 13, 2022 · 5 comments · Fixed by wechaty/puppet-walnut#26
Labels
enhancement New feature or request

Comments

@huan
Copy link
Member

huan commented Mar 13, 2022

- fromId
+ talkerId
- toId
+ listenerId
  1. Adding compatible code to make sure both the talkerId and the fromId will be available in the payloads,
  2. Deprecate fromId with Puppet v2.0
@huan
Copy link
Member Author

huan commented Mar 13, 2022

Has been implemented with v1.17+

The fromId and toId are both deprecated from now and will be removed in v2.0

CC @wechaty/puppet @wechaty/polyglot

@vchun
Copy link

vchun commented Jun 13, 2023

下载官方案例https://github.com/wechaty/getting-started.git,运行ding-dong-bot.js,控制台一直有如下错误

node 版本我用了16.20.0和18.16.0,都是相同的错误。

@dragonforce2010
Copy link

下载官方案例https://github.com/wechaty/getting-started.git,运行ding-dong-bot.js,控制台一直有如下错误

node 版本我用了16.20.0和18.16.0,都是相同的错误。

这个问题解决了吗?

@evachxji
Copy link

下载官方案例https://github.com/wechaty/getting-started.git,运行ding-dong-bot.js,控制台一直有如下错误

node 版本我用了16.20.0和18.16.0,都是相同的错误。

这个问题解决了吗?

根目录的package.json里,把 wechaty-puppet-wechat4u 版本号改为 ~1.13.15
然后重新npm install,npm start即可
见:wechaty/wechaty#2491 (comment)

@leotaozeng
Copy link
Member

leotaozeng commented Mar 8, 2024

下载官方案例https://github.com/wechaty/getting-started.git,运行ding-dong-bot.js,控制台一直有如下错误

node 版本我用了16.20.0和18.16.0,都是相同的错误。

这个问题解决了吗?

替换 wechaty-puppet-wechat4u 到最新的版本即可解决问题。

package.json

"wechaty-puppet-wechat4u": "~1.14.14"

terminal

make install
make bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants