提交 fac3475f 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

deprecate Message.create

上级 9689b986
......@@ -651,7 +651,7 @@ export class Wechaty extends Accessory implements Sayable {
case 'message':
puppet.on('message', async messageId => {
const msg = this.Message.create(messageId)
const msg = this.Message.load(messageId)
await msg.ready()
this.emit('message', msg)
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册