hemanth-narra / Forwardcoverbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram Echo Bot using Pyrogram

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.

Features

  • 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

Prerequisites

  • Python 3.6 or higher
  • API ID and API hash from Telegram
  • Bot token from Telegram

Installation

  1. Clone the repository: git clone https://github.com/hemanth-narra/Forwardcoverbot.git

  2. Install the required libraries: pip install -r requirements.txt

  3. Create a config.py file. Add your values

API_ID = "YOUR API ID"

API_HASH = "YOUR API HASH"

LOG_CHANNEL = " YOUR CHANNEL"

Usage

To run the bot, simply execute the following command: python3 bot.py

Contributing

If you want to contribute to this project, feel free to create a pull request.

About

License:MIT License


Languages

Language:Python 84.2%Language:Dockerfile 15.8%