pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
14.62k stars 3.48k forks source link

Evaluation failed: TypeError: window.Store.Chat.forwardMessagesToChats is not a function at __puppeteer_evaluation_script__:4:24 #2657

Closed cpetrag closed 5 months ago

cpetrag commented 7 months ago

Is there an existing issue for this?

Describe the bug

The error occurs when forwarding any message

Expected behavior

Forward message

Steps to Reproduce the Bug or Issue

When forwardin any message

Relevant Code

When bot try to forward message this error:

Evaluation failed: TypeError: window.Store.Chat.forwardMessagesToChats is not a function at puppeteer_evaluation_script:4:24

Browser Type

Chromium

WhatsApp Account Type

WhatsApp Business

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

On windows When bot try to forward message this error:

Evaluation failed: TypeError: window.Store.Chat.forwardMessagesToChats is not a function at puppeteer_evaluation_script:4:24

Additional context

When bot try to forward message this error:

Evaluation failed: TypeError: window.Store.Chat.forwardMessagesToChats is not a function at puppeteer_evaluation_script:4:24

cpetrag commented 7 months ago

Not working...