Skip to content

egormkn/telegram-channel-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published