Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 994 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 994 Bytes

telegram-downloader-bot

A Telegram bot for file downloading automation

If you have got an Internet connected computer or NAS and you want to automate file downloading from Telegram channels, this bot is for you.

Just create a new Telegram bot (https://core.telegram.org/bots), edit this script and fill in the fields

  • TELEGRAM_BOT_TOKEN: the unique token that indentifies your bot
  • TELEGRAM_CHAT_ID: you user (or group) id in Telegram. If you do not know it, you can talk to @get_id_bot and send it a "/my_id" command
  • DOWNLOADS_FOLDER: Change the download directory is desired.

Install the python bot library, from Gihub (https://github.com/python-telegram-bot/python-telegram-bot) or using pip ( https://pypi.python.org/pypi/python-telegram-bot/)

Run the script and talk to your new bot!

You can:

  • Copy a file post from a channel and share it with your downloader bot
  • Say "?" to your bot to check how many downloads are waiting in its queue
  • Say "quit" to stop the bot