From f831417de8d008b44269021601db4d275d6129ff Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Thu, 5 Jan 2017 01:40:26 +0300 Subject: [PATCH] Test version of Telegram bot support. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 0b731e1..1a61f6a 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,18 @@ You can use following jobs as an example: 0 0 * * * /usr/bin/php /path/to/point-tools/app/console point:update:subscriptions --all-users --env=prod ``` +## Setting Telegram webhook (to enable bot) + +```shell +php app/console telegram:webhook set your-domain.tld +``` + +## Removing Telegram webhook + +```shell +php app/console telegram:webhook delete +``` + # Running tests ## Configure environment variables