Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davidtaylorhq/discourse-telegram-notifications

A plugin for Discourse which allows users to receive their notifications by telegram message
https://github.com/davidtaylorhq/discourse-telegram-notifications

discourse discourse-plugin telegram-bot

Last synced: 19 days ago
JSON representation

A plugin for Discourse which allows users to receive their notifications by telegram message

Awesome Lists containing this project

README

        

# discourse-telegram-notifications
A plugin for Discourse which allows users to receive their notifications by telegram message

# Getting setup
1. Install the plugin using the instructions here: [How to install a plugin](https://meta.discourse.org/t/install-a-plugin/19157)
2. Create a telegram by talking to the [BotFather](https://telegram.me/botfather) (instructions [here](https://core.telegram.org/bots#6-botfather)
3. Paste the "token" into the site setting "telegram access token"
4. Tick "telegram notifications enabled"

I strongly recommend you use the `/setjoingroups` command to disable the bot being used for group chats. It is not designed for it, and risks leaking information that users are not supposed to be able to access (e.g. you don't want private messages being sent to a group chat).

You can set the name/picture/description of your bot using the instructions [here](https://core.telegram.org/bots#botfather-commands)

# For users to receive notifications
1. Send a message to the bot, you'll recieve a message back that looks like
```
To get notifications for Discourse, enter the 'Chat ID' 1234567 in your user preferences
```
2. Visit your user preferences, and paste the number in the `Telegram Notifications` box
3. You should now receive notifications by telegram message!