Allows NodeBB to send notifications over an TelegramBot!
Install it from nodebb plugin manager on your admin zone or clone it and Enter to the directory of the plugin and execute:
npm install
This will install all libs the plugin needs.
- Install and activate this plugin.
- Create your Bot, and obtain your bot token
- Enter the token into the plugin's setup page (
/admin/telegram
), and save. - add your bot to any telegram chat.
- get the room id of that chatroom and enter it into the plugin's setup page.
- Select the categories to generate Telegram notification messages on the plugin's setup page
- Reload NodeBB.
- Talk to the bot and get user token
- Go to your user settings and fill the token
- Have fun
Reply thread /r topicID message
Send chat /chat userslug message
Show Recent /recent
Show last post on a topic /read topicID (number of posts)
Known bugs:
- Please use restart first time after putin your token on admin zone
- If you have nodebb scaling you must run the plugin on main server with a port non set on other instances, can change mainport in library.js