Skip to content

whatsapp-web.js 1.1.0

This release introduces various functions that let you manage your chats:

  • Chat.archive() / Chat.unarchive()
  • Chat.clearMessages()
  • Chat.delete()
  • Message.delete()

Other notable changes

  • Send messages to contacts that you haven't chatted with before
  • message_ack event allows you to detect when your message has been sent, delivered, read or played
  • QR codes now auto refresh, in case you take too long to scan

Known issues

To start a chat with someone you haven't chatted before, you will need to have at least one chat open (with anybody).

Raw changelog

130da04 - chore: mark version v1.1.0 bb40218 - docs: use MessageAck type ad3834e - Update MessageAck constant for consistency e6ef592 - added ack constants and brief example bb4ad11 - feat: added ACK events (#73) 60ee2ca - feat: delete chat, clear chat 132424e - feat: archive chats (#63) 5c9e76e - feat: refresh qr code (#68) 1c60c83 - feat: Delete messages 1840826 - feat : Check if the given number is a whatsapp number (#54) 6ade08e - feat: Send messages to new chats PR#28 (#52) 67784bc - feat: get current connection state e385563 - Initialize the Script with the first browser tab (#47)