whatsapp-web.js icon indicating copy to clipboard operation
whatsapp-web.js copied to clipboard

Download big Files/Medias

Open Matheus-Lima-Moreira opened this issue 7 months ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the bug

Hi guys, i need a help with receiving big files from wwebjs, when i send a file higher than 300mb on wweb the event is triggered on my code but when i call the method "downloadMedia()" on the message it stay in this infinitely without a response

Expected behavior

Receive any response from "downloadMedia()" Function

Steps to Reproduce the Bug or Issue

  1. go to whatsapp web and send to anyone a media/file higher than 300 mb;
  2. put a console.log before "await msg.downloadMedia()" and another one after this function;
  3. await this infinitely without a response.

Relevant Code

Captura de tela 2024-07-10 112523

Browser Type

Google Chrome

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

OS: windows 10 Phone OS: Android whatsapp-web.js version: exodus whatsapp-web version: v2.3000.1014777976 node version: 1.18.0

Additional context

No response

Matheus-Lima-Moreira avatar Jul 10 '24 14:07 Matheus-Lima-Moreira