whatsapp-web.js
whatsapp-web.js copied to clipboard
Evaluation failed: TypeError: quotedMessage.canReply is not a function
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
0|index | Error: Evaluation failed: TypeError: quotedMessage.canReply is not a function 0|index | at window.WWebJS.sendMessage (puppeteer_evaluation_script:33:31) 0|index | at puppeteer_evaluation_script:10:45 0|index | at ExecutionContext._evaluateInternal (/root/bot/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19) 0|index | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 0|index | at async ExecutionContext.evaluate (/root/bot/node_modules/whatsapp-web.js/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16) 0|index | at async Client.sendMessage (/root/bot/node_modules/whatsapp-web.js/src/Client.js:686:28)
Expected behavior
When updating to the latest version I get that error
Steps to Reproduce the Bug or Issue
no idea
Relevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
Linux
Additional context
No response
This was fixed in https://github.com/pedroslopez/whatsapp-web.js/pull/1765, please update to the latest version of the library (1.19.2 at the time of writing) and try again.
ok, now it works. But now the lists and buttons are not sent.
This was fixed in #1765, please update to the latest version of the library (1.19.2 at the time of writing) and try again.