Skip to content

Open source python script to upload files from vps server to telegram using python-telegram-bot

Notifications You must be signed in to change notification settings

IroshanBrian/file-upload-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files upload from server to telegram

Requirements

(Version 3.10.12 Works Flawlessly)

Installation

To deploy this project run

sudo apt update && apt upgrade
git clone https://github.com/IroshanBrian/file-upload-telegram-bot
cd file-upload-telegram-bot
pip3 install -r requirements.txt

Configuration

You have to configure the example.env

  • Token= !Your telegram bot token
  • FOLDER_DIR=!Your server folder path

file and rename it to .env

Usage

Run the python file

python3 main.py

In the telegram chat use this commands:

  • /start - Start the bot
  • /help - Show this help message
  • /list- List of the files in the folder
  • /download - Download a file from the bot
  • /downloadAll - Download all files in the folder

Documentation

Python-Telegram-Bot

Credits

Support

For support, email [email protected].

About

Open source python script to upload files from vps server to telegram using python-telegram-bot

Topics

Resources

Stars

Watchers

Forks

Languages