From 923c64ca149787802fa5dbfb2809c8b37a236029 Mon Sep 17 00:00:00 2001
From: Tamirlan Kulzhanov <96735089+tkulzhan@users.noreply.github.com>
Date: Mon, 29 Jan 2024 19:24:06 +0600
Subject: [PATCH 1/4] Update README.md
---
docs/README.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/README.md b/docs/README.md
index 5f6bdb6..ee903f4 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -119,6 +119,12 @@ def message_handler(notification: Notification) -> None:
bot.run_forever()
```
+### Получение уведомлений через HTTP API
+
+Получать входящие уведомления (сообщения, статусы) можно через HTTP API запросы по аналогии, как реализованы остальные методы Green API. При этом гарантируется хронологический порядок следования уведомлений в той последовательности, в которой они были получены FIFO. Все входящие уведомления сохраняются в очереди и ожидают своего получения в течение 24 часов.
+
+Для получения входящих уведомлений требуется выполнить последовательно вызов двух методов ReceiveNotification и DeleteNotification. Метод ReceiveNotification выполняет получение входящего уведомления. Метод DeleteNotification подтверждает успешное получение и обработку уведомления. Подробнее о методах смотрите в соответствующих разделах ReceiveNotification и DeleteNotification.
+
### Как фильтровать входящие сообщения
Сообщения можно фильтровать по чату, по отправителю, по типу и тексту сообщения. Для фильтров чата, отправителя и типа
From 44f09d13127f052b6499cbc10e1c6e80fd54bbf3 Mon Sep 17 00:00:00 2001
From: Tamirlan Kulzhanov <96735089+tkulzhan@users.noreply.github.com>
Date: Mon, 29 Jan 2024 19:26:14 +0600
Subject: [PATCH 2/4] Update README.md
---
README.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/README.md b/README.md
index a52b581..53c93d8 100644
--- a/README.md
+++ b/README.md
@@ -121,6 +121,12 @@ def message_handler(notification: Notification) -> None:
bot.run_forever()
```
+### Receive webhooks via HTTP API
+
+You can get incoming webhooks (messages, statuses) via HTTP API requests in the similar way as the rest of the Green API methods are implemented. Herewith, the chronological order of the webhooks following is guaranteed in the sequence in which they were received FIFO. All incoming webhooks are stored in the queue and are expected to be received within 24 hours.
+
+To get incoming webhooks, you have to sequentially call two methods ReceiveNotification and DeleteNotification. ReceiveNotification method receives an incoming webhook. DeleteNotification method confirms successful webhook receipt and processing. To learn more about the methods, refer to respective ReceiveNotification and DeleteNotification sections.
+
### How to filter incoming messages
Messages can be filtered by chat, sender, message type, and text. To filter chat, sender, and message type, you can use
From b24b5b3369ee4de542141528442368e0569764fb Mon Sep 17 00:00:00 2001
From: Tamirlan Kulzhanov <96735089+tkulzhan@users.noreply.github.com>
Date: Mon, 29 Jan 2024 19:33:24 +0600
Subject: [PATCH 3/4] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 53c93d8..a25b9cf 100644
--- a/README.md
+++ b/README.md
@@ -125,7 +125,7 @@ bot.run_forever()
You can get incoming webhooks (messages, statuses) via HTTP API requests in the similar way as the rest of the Green API methods are implemented. Herewith, the chronological order of the webhooks following is guaranteed in the sequence in which they were received FIFO. All incoming webhooks are stored in the queue and are expected to be received within 24 hours.
-To get incoming webhooks, you have to sequentially call two methods ReceiveNotification and DeleteNotification. ReceiveNotification method receives an incoming webhook. DeleteNotification method confirms successful webhook receipt and processing. To learn more about the methods, refer to respective ReceiveNotification and DeleteNotification sections.
+To get incoming webhooks, you have to sequentially call two methods ReceiveNotification and DeleteNotification. ReceiveNotification method receives an incoming webhook. DeleteNotification method confirms successful webhook receipt and processing. To learn more about the methods, refer to respective ReceiveNotification and DeleteNotification sections.
### How to filter incoming messages
From 54d108bbf5b2bb2c5b4ebf706c718fdd88f9f2d6 Mon Sep 17 00:00:00 2001
From: tkulzhan
Date: Tue, 6 Feb 2024 20:09:21 +0600
Subject: [PATCH 4/4] docs fix
---
README.md | 4 ++--
docs/README.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index a25b9cf..4031288 100644
--- a/README.md
+++ b/README.md
@@ -123,9 +123,9 @@ bot.run_forever()
### Receive webhooks via HTTP API
-You can get incoming webhooks (messages, statuses) via HTTP API requests in the similar way as the rest of the Green API methods are implemented. Herewith, the chronological order of the webhooks following is guaranteed in the sequence in which they were received FIFO. All incoming webhooks are stored in the queue and are expected to be received within 24 hours.
+This library receives incoming webhooks (messages, statuses) via HTTP API requests in a manner similar to the implementation of other Green API methods. The chronological order of the webhooks is guaranteed to follow the sequence in which they were received (FIFO). All incoming webhooks are stored in the queue and are expected to be received within 24 hours.
-To get incoming webhooks, you have to sequentially call two methods ReceiveNotification and DeleteNotification. ReceiveNotification method receives an incoming webhook. DeleteNotification method confirms successful webhook receipt and processing. To learn more about the methods, refer to respective ReceiveNotification and DeleteNotification sections.
+To obtain incoming webhooks, this library sequentially calls two methods: [ReceiveNotification](https://green-api.com/en/docs/api/receiving/technology-http-api/ReceiveNotification/) and [DeleteNotification](https://green-api.com/en/docs/api/receiving/technology-http-api/DeleteNotofication/). The `ReceiveNotification` method receives an incoming webhook, while the `DeleteNotification` method confirms the successful receipt and processing of the webhook. For more information about these methods, refer to the respective sections on [ReceiveNotification](https://green-api.com/en/docs/api/receiving/technology-http-api/ReceiveNotification/) and [DeleteNotification](https://green-api.com/en/docs/api/receiving/technology-http-api/DeleteNotofication/).
### How to filter incoming messages
diff --git a/docs/README.md b/docs/README.md
index ee903f4..cc2a128 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -121,9 +121,9 @@ bot.run_forever()
### Получение уведомлений через HTTP API
-Получать входящие уведомления (сообщения, статусы) можно через HTTP API запросы по аналогии, как реализованы остальные методы Green API. При этом гарантируется хронологический порядок следования уведомлений в той последовательности, в которой они были получены FIFO. Все входящие уведомления сохраняются в очереди и ожидают своего получения в течение 24 часов.
+Эта библиотека получает входящие веб-хуки (сообщения, статусы) через HTTP API-запросы в порядке, аналогичном реализации других методов Green API. Хронологический порядок веб-хуков гарантированно соответствует последовательности, в которой они были получены (FIFO). Все входящие веб-крючки хранятся в очереди и ожидаются к получению в течение 24 часов.
-Для получения входящих уведомлений требуется выполнить последовательно вызов двух методов ReceiveNotification и DeleteNotification. Метод ReceiveNotification выполняет получение входящего уведомления. Метод DeleteNotification подтверждает успешное получение и обработку уведомления. Подробнее о методах смотрите в соответствующих разделах ReceiveNotification и DeleteNotification.
+Для получения входящих веб-крючков эта библиотека последовательно вызывает два метода: [ReceiveNotification](https://green-api.com/en/docs/api/receiving/technology-http-api/ReceiveNotification/) и [DeleteNotification](https://green-api.com/en/docs/api/receiving/technology-http-api/DeleteNotofication/). Метод `ReceiveNotification` получает входящий вебхук, а метод `DeleteNotification` подтверждает успешное получение и обработку вебхука. Подробнее об этих методах читайте в соответствующих разделах [ReceiveNotification](https://green-api.com/en/docs/api/receiving/technology-http-api/ReceiveNotification/) и [DeleteNotification](https://green-api.com/en/docs/api/receiving/technology-http-api/DeleteNotofication/).
### Как фильтровать входящие сообщения