App State Updates
WA uses an encrypted form of communication to send chat/app updates. This has been implemented mostly and you can send the following updates:
Archive
To archive a chat, you can send
Mute/Unmute
Mark chat read/unread
Disappearing mode
Block person
Save Contact (In-App)
WhatsApp now supports storing contacts directly inside the WhatsApp cloud rather than sync'ing to your phone's native address book. This allows for cross-device synchronization and prevents cluttering your device's contacts.
To save a contact inside WhatsApp, use saveContact:
// Save a contact with full name and mobile number (with or without @s.whatsapp.net)
await sock.saveContact("John Doe", "1234567890")