I'm trying to build an app that will use whatsapp-web.js to allow multiple people to connect and send messages through the app in the same WhatsApp account. Is it possible?
Unfortunately due to the way WhatsApp Web works, you're restricted to only one active session for a particular number. However, you could use this library to only have one session and provide a custom interface where multiple people connect.
This could be done either by exposing and API and/or making your own frontend. Your app would talk to the same whatsapp-web.js instance regardless of where it's called from or who it's called by.
This is exactly the answer I was looking for. Thanks :)
Most helpful comment
Unfortunately due to the way WhatsApp Web works, you're restricted to only one active session for a particular number. However, you could use this library to only have one session and provide a custom interface where multiple people connect.
This could be done either by exposing and API and/or making your own frontend. Your app would talk to the same whatsapp-web.js instance regardless of where it's called from or who it's called by.