Skip to content

tsalehm/telegram-file-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

telegram-file-downloader

how to use?
install telethon and...
get api code for your account from my.telegram.org

create a channel and put its id in script
user_id is your id (if you are not using your main account)

to save a file you have to first send its name to that channel. started with "-/" like -/name
and if it is a pdf it will be saved by the name of name.pdf
you can put it in directories too. like -/folder/name

than send the file itself

note: if you remove/rename the file (or its name) it will be renamed/removed!

note: when you create the channel. send a text message first. than send names and files. this message(first message) will be used to show the downloading proceسs

example

in this example i've used nginx root directory to save files into and be able to download them directly

image

image

About

download files from telegram and save them to a folder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages