diff --git a/README.md b/README.md index d90855c..2c5d7f5 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,9 @@ def message_handler(notification: Notification) -> None: bot.run_forever() ``` -### How to handle buttons +### How to handle buttons (deprecated) + +The method is temporarily not working. When the method is called, a 403 error will be returned. To be notified when a button is pressed, you must use the `bot.router.buttons` object. diff --git a/docs/README.md b/docs/README.md index 0465471..6621ef2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -215,7 +215,9 @@ def message_handler(notification: Notification) -> None: bot.run_forever() ``` -### Как обрабатывать кнопки +### Как обрабатывать кнопки (неактуально) + +Метод временно не работает. При вызове метода вернется ошибка 403. Чтобы получать уведомления о нажатиях на кнопку, нужно использовать объект `bot.router.buttons`. diff --git a/requirements.txt b/requirements.txt index 9613970..b625307 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -whatsapp-api-client-python==0.0.45 +whatsapp-api-client-python==0.0.46 diff --git a/setup.py b/setup.py index 46a6eb8..68a8648 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="whatsapp-chatbot-python", - version="0.9.1", + version="0.9.2", description=( "This library helps you easily create" " a Python chatbot with WhatsApp API."