Skip to content

Commit 3bc716e

Browse files
committed
extend readme
1 parent 6f13c80 commit 3bc716e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@ webhooksHandler.startServer('127.0.0.1', 8000, onEvent)
2828
```
2929

3030
onEvent - метод обработки вебхуков, который определяет разработчик.
31+
В методе должно быть три параметра:
32+
- webhooksHandler - экземляр класса библиотеки
33+
- typeWebhook - тип вебхука
34+
- body - тело сообщения
35+
3136
См. пример [echo.py](https://github.com/green-api/whatsapp-api-webhook-server-python/blob/master/examples/echo.py)

0 commit comments

Comments
 (0)