improve telegram notifications documentation
This commit is contained in:
committed by
Umputun
parent
6af938051a
commit
bd42c75a84
@@ -48,9 +48,10 @@ To enable Telegram authentication for the users, set variable `AUTH_TELEGRAM=tru
|
||||
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), **invite your bot** into it and add channel ID to remark42 configuration as `NOTIFY_TELEGRAM_CHAN`
|
||||
* To obtain a 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 a private channel or chat, use [these instructions](https://github.com/GabrielRF/telegram-id) to obtain the ID.
|
||||
2. Make [a channel](https://telegram.org/faq_channels), **add your bot as Administrator** into it and add channel ID to remark42 configuration as `NOTIFY_TELEGRAM_CHAN`
|
||||
* "Post messages" permission is enough for bot to be able to post messages in your channel, others are unnecessary;
|
||||
* To obtain a 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 a private channel or chat, use [these instructions](https://github.com/GabrielRF/telegram-id#web-channel-id) to obtain the ID.
|
||||
|
||||
### Notifications for users
|
||||
|
||||
|
||||
Reference in New Issue
Block a user