canove / whaticket-community

A very simple Ticket System based on WhatsApp messages, that allow multi-users in same WhatsApp account.
MIT License
1.55k stars 795 forks source link

Solução do problema Error: Evaluation failed: TypeError: msg.quotedMsgObj is not a function #494

Closed eduamaral23 closed 1 year ago

eduamaral23 commented 1 year ago

Pessoal, que estiver com o problema: Error: Evaluation failed: TypeError: msg.quotedMsgObj is not a function Vá em /whatsapp-web.js/src/structures/Message.js Linha: 309 E altere de: return msg.quotedMsgObj().serialize(); para: return msg.getRawQuotedMsgObj().serialize() Que resolve o problema.

CJRMedeiros123 commented 1 year ago

Funcionou para mim!

eduamaral23 commented 1 year ago

Os problemas foram resolvidos atualizando a ultima versão do whatsapp-web.js para 1.18.4, para os 2 whatsapp.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.