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

Media Messages fetching as chat

Open ouzbalkn opened this issue 2 years ago • 4 comments

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

ouzbalkn avatar Aug 24 '22 08:08 ouzbalkn

update last version

ceringo avatar Aug 24 '22 18:08 ceringo

update last version

thats not a solution at all.

ouzbalkn avatar Aug 30 '22 07:08 ouzbalkn

aquí con el mismo problema, alguna solución?

alan2797 avatar Sep 09 '22 14:09 alan2797

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.

039710 avatar May 17 '23 21:05 039710