Skip to content

sc0rp10n-py/telegram-forwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Forwarder

Supports

  • user accounts
  • private channels
  • public channels

Installation

git clone <url>
cd telegram-forwarder
# create env
python3 -m venv env
# activate env
source env/bin/activate
# install requirements
pip install -r requirements.txt

Usage

First got to .env file and add your credentials.

API_ID = <api-id>
API_HASH = <api-hash>
FROM_CHANNEL_ID = <enter-from-channel-id>
TO_CHANNEL_ID = <enter-to-channel-id>
PHONE_NUMBER = <phone-number>
SESSION_NAME = <session-name> # can just enter "session"

Then run the script.

# activate env
source env/bin/activate
# run
python3 main.py

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published