Skip to content

An open version of the software for automatic end-to-end transmission of messages between users / chats with filters, rules and management via a bot

License

Notifications You must be signed in to change notification settings

IgorDuino/telegram_forward_master

Repository files navigation

Forward master userbot

This is just open & free version, if you want to get full version with web panel administration, multy account system, updates for a 2 year, compatibility with new Telegram features and other features contact me @igorduino

Это открытая и бесплатная версия, если вы хотите получить полную версию с администрированием через бота и веб-панель, системой множественных учетных записей, обновлениями за 2 года, совместимостью с новыми функциями Telegram и другими фишками, свяжитесь со мной @igorduino

0. Pre-installation

  1. Install docker and docker-compose

1. Setup environment

cp .env.example .env

  1. API_ID and API_HASH you can get there https://my.telegram.org/auth?to=apps
  2. Put your PHONE_NUMBER and any ACCOUNT_NAME
  3. TELEGRAM_ID you can give it in @myidbot
    1. ADMIN_TELEGRAM_ID additional
  4. You need to create bot with @botfather and put BOT_API
  5. If you will run app with docker-compose yout DB_HOST equal postgress service name ("db" by default)

2. Create session file

  1. create venv and install requirements
    1. python -m venv venv
    2. . venv/bin/activate | venv/Scripts/activate.bat
    3. pip install -U pip wheel setuptools && pip install -r requirements.txt
  2. run python create_pyrogram_session.py it will be necessary to make a separate container for this in the future

3. Start docker stack

docker-compose up -d

About

An open version of the software for automatic end-to-end transmission of messages between users / chats with filters, rules and management via a bot

Topics

Resources

License

Stars

Watchers

Forks

Languages