A plugin for Discourse which allows users to receive their notifications by telegram message
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/javascripts/discourse/templates/connectors/user-custom-preferences
config
services/discourse_telegram_notifications
README.md
plugin.rb

README.md

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
  2. Create a telegram by talking to the BotFather (instructions here
  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

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
  1. Visit your user preferences, and paste the number in the Telegram Notifications box
  2. You should now receive notifications by telegram message!