clarify telegram channel ID param and documentation

This commit is contained in:
Dmitry Verkhoturov
2021-12-19 13:56:16 -06:00
committed by Umputun
parent e1d629191e
commit f43dfd57e0
3 changed files with 5 additions and 3 deletions
@@ -47,7 +47,9 @@ If all goes fine, you should be able to see the following message on your Slack
In order to integrate notifications about any comment on your sites with remark42 with [telegram](https://telegram.org)
1. Set `NOTIFY_ADMINS=telegram`
1. Make [a channel](https://telegram.org/faq_channels) and add it to remark42 configuration as `NOTIFY_TELEGRAM_CHAN`
1. Make [a channel](https://telegram.org/faq_channels) and add it's ID to remark42 configuration as `NOTIFY_TELEGRAM_CHAN`
* To obtain public channel ID, forward any message from it to [@JsonDumpBot](https://t.me/JsonDumpBot): look for `id` in `forward_from_chat`.
* If you want to use private channel or chat, use [these instructions](https://github.com/GabrielRF/telegram-id) to obtain the ID.
1. Get a token according to the instruction below and add it to the configuration as well
### Getting token for Telegram
@@ -91,7 +91,7 @@ services:
| notify.users | NOTIFY_USERS | none | type of user notifications (Telegram, email) |
| notify.admins | NOTIFY_ADMINS | none | type of admin notifications (Telegram, Slack, webhook and/or email) |
| notify.queue | NOTIFY_QUEUE | `100` | size of notification queue |
| notify.telegram.chan | NOTIFY_TELEGRAM_CHAN | | Telegram channel |
| notify.telegram.chan | NOTIFY_TELEGRAM_CHAN | | ID of telegram channel for admin notifications |
| notify.slack.token | NOTIFY_SLACK_TOKEN | | Slack token |
| notify.slack.chan | NOTIFY_SLACK_CHAN | `general` | Slack channel |
| notify.webhook.url | NOTIFY_WEBHOOK_URL | | Webhook notification URL |