This repository contains an alternative version of WhatsApp, focused on fixing the issue of videos not being sent correctly to the API.
Copy the file found in this repository (likely a file fixing the video sending issue) to the correct location within the whatsapp-web.js
project, according to their API structure. This may involve replacing or adding files in the appropriate directories of the whatsapp-web.js
project.
In your code, when creating an instance of WhatsApp Web JS API, pass the webVersion: "2.2412.54v2"
parameter in the constructor:
const { Client } = require('whatsapp-web.js');
const client = new Client({
webVersion: "2.2412.54v2"
});
Ensure to replace "2.2412.54v2"
with the specific version you need to use. For more information, refer to the WhatsApp Web JS API.
Utilize the WhatsApp Web JS API as needed in your project, leveraging the fix or enhancement provided by the file added to the whatsapp-web.js
project.
Feel free to contribute to this project! If you encounter any issues or have an idea for a new feature, please open an issue or submit a pull request.
For more information, contact Guilherme via guigo613@gmai.com.