You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When receiving the message with media in the channel, the Message object has hasMedia property equal to false, also the mediaKey equals null, but the type property equals image.
Expected behavior
hasMedia should be true and the other related props should not be null
Steps to Reproduce the Bug or Issue
subscribe to a channel with WhatsApp app
subscribe to message events with whatsapp-web.js
send an image to the WhatsApp channel you subscribed
Is there an existing issue for this?
Describe the bug
When receiving the message with media in the channel, the Message object has hasMedia property equal to false, also the mediaKey equals null, but the type property equals image.
Expected behavior
hasMedia should be true and the other related props should not be null
Steps to Reproduce the Bug or Issue
Relevant Code
Here is an example of a Message object I receive:
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Linux
Phone OS: iOS
whatsapp-web.js version: webpack-exodus
WhatsApp Web version: 2.3000.1012737330
Node: 17.0.1
Additional context
No response
The text was updated successfully, but these errors were encountered: