Telegram orqali yuboriladigan yoki forward qilinadigan fayllarni cheklanmagan hajmda serveringizga yuklab oladigan bot.
- Python 3.7+
- Lokal o'rnatilgan Telegram Bot API Server (20MB limitni aylanib o'tish uchun)
git clone https://github.com/RtiM0/telegram-download-bot.git
cd telegram-download-bot
python3 -m venv env
source env/bin/activate
python -m pip install -r requirements.txt
deactivate
14-qator – Bot tokeningizni kiriting:
TOKEN = "BOT-TOKEN"
16-qator – Fayllar saqlanadigan papka:
OUTPUT_DIR = "/home/potato/tgdownloadbot/"
20MB cheklovni olib tashlash uchun API serverni lokalda ishga tushiring.
cd telegram-bot-api/bin/
./telegram-bot-api --api-id <API-ID> --api-hash <API-HASH> --local
API-ID va API-HASH ni my.telegram.org saytidan olasiz.
cd telegram-download-bot
source env/bin/activate
python bot.py
Botga istalgan faylni yuboring yoki forward qiling — fayl avtomatik ravishda serveringizga yuklanadi! 🎉
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.
To learn how to create and set up a bot, please consult our Introduction to Bots and Bot FAQ.
Recent changes
Subscribe to @BotNews to be the first to know about the latest updates and join the discussion in @BotTalk
August 15, 2025
Bot API 9.2
Checklists
Added the field checklist_task_id to the class ReplyParameters, allowing bots to reply to a specific checklist task.
Added the field reply_to_checklist_task_id to the class Message.
Gifts
Added the field publisher_chat to the classes Gift and UniqueGift which can be used to get information about the chat that published a gift.