Closed roysG closed 4 years ago
WhatsApp does not accept pngs. Use a jpeg. @roysG
Also, the icon has to be very small otherwise it won't work.
I also tried now with this image:
https://res.cloudinary.com/picktags-com/image/upload/v1587464241/icon2_gdstwh.jpg
Still not working
On Tue, Apr 21, 2020 at 12:36 PM Mohammed Shah notifications@github.com wrote:
Also, the icon has to be very small otherwise it won't work.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/open-wa/wa-automate-nodejs/issues/345#issuecomment-617069429, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXZDOTGWXPEKL6BPTISZDTRNVSLBANCNFSM4MNDHWBA .
@github-actions run
@roysG In the latest version 1.8.74, it now converts the image on to the correct size and format so your pngs and large jpegs should work now as long as sharp works on your system.
Tested to be working:
//large jpeg
await client.setGroupIconByUrl("447777777777-1579189596@g.us", "https://upload.wikimedia.org/wikipedia/commons/1/16/HDRI_Sample_Scene_Balls_%28JPEG-HDR%29.jpg");
//and with png
await client.setGroupIconByUrl("447777777777-1579189596@g.us", "https://res.cloudinary.com/picktags-com/image/upload/v1587297034/unnamed_3_vbkodw.png'");
Let me know if this worked for you. Thanks
AWSOME!, Is there any option to get the chat but also to simulate it as i clicked it in ui?
@roysG there are no plans for a UI layer on this repo.
I checked, i got error: "Failed to update group icon,Please try again later"
code: await client.setGroupIconByUrl('972559661703-1587456110@g.us', 'https://res.cloudinary.com/picktags-com/image/upload/v1587297034/unnamed_3_vbkodw.png');
i also tried:
await client.setGroupIconByUrl('972559661703_1587456110@g.us', 'https://res.cloudinary.com/picktags-com/image/upload/v1587297034/unnamed_3_vbkodw.png');