npm whatsapp-web.js 1.10.0
v1.10.0 - Send media fix, modify group settings, pin chats

4 years ago

Important update

This release fixes an issue introduced in WhatsApp Web v2.2043.8 that prevented media messages from being sent reliably. Updating to this version is required to continue sending media messages.

New features

Modify group settings

It is now possible change group settings so that only admins can send messages or only admins can update group info (description, title, image). Note that you need to have the proper permissions for these changes to take effect.

group.setInfoAdminsOnly(true); // Only admins can edit group info
group.setInfoAdminsOnly(false); // Everyone can edit group info

group.setMessagesAdminsOnly(true); // Only admins can send messages
group.setMessagesAdminsOnly(false); // Everyone can send messages

Pin Chats

You can now pin/unpin chats to the top of the list through the library:

chat.pin(); // pins the chat
chat.unpin(); // unpins the chat

chat.pinned; // indicates if the chat is pinned or not

Changelog

3d06bab - chore: mark version v1.10.0
f4a2c44 - chore: bump supported WhatsApp Web version to v2.2043.8
604656c - fix: change OpaqueData module lookup function (#391)
aedf41b - feat: Pin and unpin Chats (#166)
bf2775d - feat: update group settings (messages and set info admins only) (#374)

Don't miss a new whatsapp-web.js release

NewReleases is sending notifications on new releases.