Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 2 KB

README.md

File metadata and controls

32 lines (22 loc) · 2 KB

telegram-channel-bot

Telegram bot that can subscribe to channels and forward messages from them. Might be useful for reading news or collecting entertainment content from different sources in one place.

Building

  1. Build libtdjson and put it to the lib/ folder
  2. Run stack build
  3. Optional: create .env file with settings:
    API_ID=******
    API_HASH=********************************
    PHONE_NUMBER=************
    
  4. Execute run.sh

Usage

Available commands:

  • /add <link> - Add channel to subscriptions list
  • /show - Print a list of active subscriptions
  • /remove <id> - Remove channel from subscriptions list

Contributors

License

This project is released under the MIT license. For more details, take a look at the LICENSE file.