This is a simple Telegram bot that echoes messages and media sent to it. It uses the Pyrogram library to handle the communication with the Telegram API.
- Echoes text messages sent to the bot
- Forwards photos, videos, documents, audio, and voice messages back to the user
- Sends a copy of the photos and videos to a log channel
- Python 3.6 or higher
- API ID and API hash from Telegram
- Bot token from Telegram
-
Clone the repository:
git clone https://github.com/hemanth-narra/Forwardcoverbot.git
-
Install the required libraries:
pip install -r requirements.txt
-
Create a
config.py
file. Add your values
API_ID = "YOUR API ID"
API_HASH = "YOUR API HASH"
LOG_CHANNEL = " YOUR CHANNEL"
To run the bot, simply execute the following command:
python3 bot.py
If you want to contribute to this project, feel free to create a pull request.