Notice: Undefined offset: 1 in /home/freudservi/domains/freud-servis.ru/public_html/classes/modules/stat/classes/libs/detect.php on line 394
Is it possible to configure WebHooks to not return to old messages? "IgnoreOldMessages" parameter help.chat-api.com

Is it possible to configure WebHooks to not return to old messages? "IgnoreOldMessages" parameter

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!

For this, use the / ignoreOldMessages parameter, with which hooks will not be formed on old messages. Webhooks will not be generated for messages older than 5 minutes.

This function is necessary if you work with a large array of messages. In some cases, messengers does not immediately download old messages, which can lead to inconvenient situations with unexpected appearance of hooks on old messages, which can interfere with the workflow. "IgnoreOldMessages" helps avoid this. It is also very important that if your phone loses its internet connection, you may not receive message hooks. Therefore, the function of ignoring old messages with the period you need will help to avoid difficulties with unnecessary or late hooks.

This period can be increased or decreased with / settings oldMessagesPeriod.

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