You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to send an audio file ( MP3 ) that is 50 MB in size an error occurs, I use the window.WWebJS.sendMessage(chatWid, "", param1) method to send the files.
Being param1:
{
"attachment": >>> FILE IN BASE 64 <<<,
"sendMediaAsDocument": true
}
Expected behavior
That the 50MB audio file be sent as a document in the conversation
Steps to Reproduce the Bug or Issue
Convert a 50 MB file to BASE64
Create an object like the param1 previously informed
Retrieve a ChatWid
Use the window.WWebJS.sendMessage(chatWid, "", param1) method to try to send the file
Relevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Docker + Debian 11 ( bullseye )
whatsapp-web.js version: 1.18.2
WhatsApp Web version: 2.2241.7
Additional context
I don't use the whole project, just the "src/util/Injected.js" file injecting it into the browser to have access to the methods via a PHP application developed by me.
Error in console
unknown error: call function result must be a dictionary
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the bug
When trying to send an audio file ( MP3 ) that is 50 MB in size an error occurs, I use the
window.WWebJS.sendMessage(chatWid, "", param1)
method to send the files.Being
param1
:Expected behavior
That the 50MB audio file be sent as a document in the conversation
Steps to Reproduce the Bug or Issue
window.WWebJS.sendMessage(chatWid, "", param1)
method to try to send the fileRelevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
Additional context
I don't use the whole project, just the "src/util/Injected.js" file injecting it into the browser to have access to the methods via a PHP application developed by me.
Error in console
The text was updated successfully, but these errors were encountered: