https://github.com/daedlock/tg-listener-py
https://github.com/daedlock/tg-listener-py
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/daedlock/tg-listener-py
- Owner: daedlock
- Created: 2023-12-28T15:01:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-28T15:04:39.000Z (over 2 years ago)
- Last Synced: 2025-02-27T05:42:40.078Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TG Listener Bot
This bot will listen to all messages you receive on telegram and aggregate it to a single group/channel. The bot allows filtering messages from specific groups & users
# Requirements
- Python3
# Installation & Running
### Clone this repository
```
git clone https://github.com/daedlock/tg-listener-py
```
### Install dependencies
```
pip3 install -r requirements.txt
```
### Update config
Update the `config.toml` file to your liking.
*Note: you can get api_id and api_hash from https://my.telegram.org/
### Running the bot
In your terminal, make sure you are in the tg-listener-py directory then run:
```
python main.py
```