https://github.com/egormkn/telegram-channel-bot
Telegram bot for merging channels
https://github.com/egormkn/telegram-channel-bot
haskell tdlib telegram telegram-bot
Last synced: about 1 year ago
JSON representation
Telegram bot for merging channels
- Host: GitHub
- URL: https://github.com/egormkn/telegram-channel-bot
- Owner: egormkn
- License: mit
- Created: 2019-02-05T12:45:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-25T19:54:58.000Z (almost 7 years ago)
- Last Synced: 2025-03-30T06:03:47.729Z (about 1 year ago)
- Topics: haskell, tdlib, telegram, telegram-bot
- Language: Haskell
- Size: 85 KB
- Stars: 8
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/tdlib/td#dependencies) 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 ` - Add channel to subscriptions list
- `/show` - Print a list of active subscriptions
- `/remove ` - Remove channel from subscriptions list
## Contributors
[](https://sourcerer.io/fame/egormkn/egormkn/telegram-channel-bot/links/0)[](https://sourcerer.io/fame/egormkn/egormkn/telegram-channel-bot/links/1)[](https://sourcerer.io/fame/egormkn/egormkn/telegram-channel-bot/links/2)[](https://sourcerer.io/fame/egormkn/egormkn/telegram-channel-bot/links/3)[](https://sourcerer.io/fame/egormkn/egormkn/telegram-channel-bot/links/4)[](https://sourcerer.io/fame/egormkn/egormkn/telegram-channel-bot/links/5)[](https://sourcerer.io/fame/egormkn/egormkn/telegram-channel-bot/links/6)[](https://sourcerer.io/fame/egormkn/egormkn/telegram-channel-bot/links/7)
## License
This project is released under the MIT license.
For more details, take a look at the [LICENSE](LICENSE) file.