Why are messages accumulating in the queue and how can I clean it?
To connect to the WhatsApp API, these materials can help you.
Chat API offers the most accessible and automated connection to the WhatsApp Business API on the market with instant access, a visual Chabot constructor that does not require code knowledge, and a Chat platform.
WhatsApp Business API is the most reliable way to introduce more than 2 billion messenger audiences to your business or product. Connect to the Chat API.
Thank you for visiting our website. Our team wishes you success in all matters!
The message queue can accumulate for several main reasons:
1 - Sending messages with files to numbers that are not used in WhatsApp. You can check the availability of a number in WhatsApp using the \ checkPhone method.
2 - Connection problems. For the account to work correctly, it is also necessary that the phone is connected to a stable Internet and has a good battery charge. And if the phone is turned off or offline, then messages start to go to the queue. The maximum number of messages in the queue is 400. After the phone turns on, messages from the queue begin to be sent in 5 pieces in 2 minutes.
3 - Conflict with WhatsApp Web. The service works through Whatsapp Web, so if another Whatsapp Web opens, each other's sessions are interrupted and the account stops working.
4 - Submitting old, broken links. Messages with such links will also not be sent.
You can clear the message queue with / clearMessagesQueue.
Or from your Personal Account features