whatsapp-web.js
whatsapp-web.js copied to clipboard
Media Messages fetching as chat
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
I send media messages, and everything works perfect, I fetch the media messages that I sent to chat window and I can see the document there.
But after restarting node, the media messages that I sent appear as chat message even they look normal on official wp applications.
Expected behavior
I expected to see the type as document but they are chat.
Steps to Reproduce the Bug or Issue
const media = new MessageMedia(resp.fileType, resp.base64, resp.fileName); await client.sendMessage(nummerDetails._serialized, media, {caption: 'test', sendMediaAsDocument: true})
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
No, I am not using Multi Device
Environment
OS: Mac Phone OS: iOS whatsapp-web.js version 1.17.1
Additional context
No response
update last version
update last version
thats not a solution at all.
aquí con el mismo problema, alguna solución?
any solution for this?
i am also having problem when fetching a document (xlsx,csv, or any types of document) appeared as type of chat, and cant get the media.