developer-choice124
developer-choice124
` client.on("message", async (message) => { console.log("RECEIVED MESSAGE:", message); const chat = await message.getChat(); const gifMedia = await MessageMedia.fromUrl("https://www.galvanizeaction.org/wp-content/uploads/2022/06/Wow-gif.gif", {unsafeMime:true}); chat.sendMessage(gifMedia, {caption: "gif file"}); }); ` In my case, caption...
 I am also having the same issue, location to session: D:\Ajay\Work\Electron JS\sessions location to project: D:\Ajay\Work\Electron JS\evr\whatsapp_automation_frontend I am making compressed build of whatsapp-web.js using **@vercel/ncc**. I am using...
> I have found the solution > > 1. Go to the file: "node_modules/whatsapp-web.js/src/authStrategies/LocalAuth.js" > 2. Find the function end of the file: > `async logout() { if (this.userDataDir) {...
I am also using the same piece of code with 'small' flag and able to get QR code properly in gitbash but not in command prompt. Attaching the image of...