Baileys
Baileys copied to clipboard
Input file contains unsupported image format
Describe the bug I'm getting this error when I try to send image with Buffer
"class":"baileys","trace":"Error: Input file contains unsupported image format","msg":"failed to obtain extra info"}
To Reproduce Steps to reproduce the behavior:
// mediaType = "image"
const mediaBuffer: Buffer = content[mediaType];
this.connection?.wa.sendMessage(
jid,
{ [mediaType]: mediaBuffer }
);
ur problem solved bro ?
no, I think this error is from third party lib which create thumbnail.
This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days