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
err: Error: Evaluation failed: a
at ExecutionContext._ExecutionContext_evaluate (/devathenas/appcliente/apicliente/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:229:15)
at process.processTicksAndRejections (/devathenas/appcliente/apicliente/lib/internal/process/task_queues.js:95:5)
at async ExecutionContext.evaluate (/devathenas/appcliente/apicliente/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:107:16)
at async Client.sendMessage (/devathenas/appcliente/apicliente/node_modules/whatsapp-web.js/src/Client.js:947:28) {stack: 'Error: Evaluation failed: a
at ExecutionC…modules/whatsapp-web.js/src/Client.js:947:28)', message: 'Evaluation failed: a'}
const media = new MessageMedia(file.mimetype, fileData.toString("base64"), fileName);
# recipientid could be a number or groupId
await client.sendMessage(recipientId, media, { caption });
Is there an existing issue for this?
Describe the bug
Even using the {sendVideoAsGif:true} command, the system sends it as a video
Expected behavior
Send mp4 as Gif
Steps to Reproduce the Bug or Issue
1.Send .mp4 video as gif
Relevant Code
await sendMensage(client, numbePrefix, media, {sendVideoAsGif:true});
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Windows
whatsapp-web.js version 1.23.1-alpha.3
WhatsApp Web version [run await client.getWWebVersion()]:
Node.js Version 20.11
Additional context
No response
The text was updated successfully, but these errors were encountered: