help.chat-api.com

Why are messages accumulating in the queue and how can I clean it?

hand
We are sorry to inform you that the article has lost its relevance. Perhaps this function is no longer available or the working conditions with the API have changed.

 

To connect to the messengers API, these materials can help you.

Chat API offers the most accessible and automated connection to the messengers Business API on the market with instant access, a visual Chabot constructor that does not require code knowledge, and a Chat platform.

messengers 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 messengers. You can check the availability of a number in messengers 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 messengers Web. The service works through messengers Web, so if another messengers 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 

Was this article helpful?

Your opinion will be used to improve the content of the article

The Most Multifunctional API Provider

Chat API has been operating since 2015 and is one of the first and largest providers in Eastern Europe.

Here are some curious and important figures:

  • We have tremendous expertise in docker container management at scale with an SLA of 99.5+%;
  • Chat API involves in its work more than 200 servers, with the ability to quickly connect another 100;
  • 3200 cores and 25 terabytes of RAM;
  • 200+ methods and features that keep adding;
  • Highload system, Up Time servers 99.9%;
  • Support 24\7;
Get access to the API