Notification preferences can easily be managed in your WhatsApp settings.
Open WhatsApp Web/Desktop > Menu ( or ) > Settings > Notifications .
Here you can make changes to: - Sounds - Desktop Alerts - Show Previews
You can also turn off all chat alerts and sounds for a certain amount of time. To turn notifications back on, click Alerts and sounds off. Click to restore. ( or ).
To turn notifications back on, find the muted chat and click Menu > Unmute notifications.
Note: If you mute an individual or group chat on your phone, it'll also be muted on WhatsApp Web and Desktop. All other notification settings are independent of your phone and computer and don't affect one another.