Initialize Webhook Server
If you want to receive incoming and outgoing messages, you need to install Webhook Listener. We have listed the steps for this respectively:
You need to obtain a tunnel address via NGROK. How do I do it?
You need to call and configure the webhookServer class in the WhatsappJS class.
An example is given below.
Now you are ready and can listen to the events you have selected!
Last updated