Skip to content

codeby-umar/Interpretation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Download Bot

Telegram orqali yuboriladigan yoki forward qilinadigan fayllarni cheklanmagan hajmda serveringizga yuklab oladigan bot.


📌 Talablar

  • Python 3.7+
  • Lokal o'rnatilgan Telegram Bot API Server (20MB limitni aylanib o'tish uchun)

📥 O'rnatish

1️⃣ Loyihani yuklab olish

git clone https://github.com/RtiM0/telegram-download-bot.git
cd telegram-download-bot

2️⃣ Virtual muhit yaratish

python3 -m venv env
source env/bin/activate
python -m pip install -r requirements.txt
deactivate

⚙️ Sozlash

14-qator – Bot tokeningizni kiriting:

TOKEN = "BOT-TOKEN"

16-qator – Fayllar saqlanadigan papka:

OUTPUT_DIR = "/home/potato/tgdownloadbot/"

🚀 Telegram Bot API Server-ni ishga tushirish

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.


▶️ Botni ishga tushirish

cd telegram-download-bot
source env/bin/activate
python bot.py

📂 Foydalanish

Botga istalgan faylni yuboring yoki forward qiling — fayl avtomatik ravishda serveringizga yuklanadi! 🎉

Telegram Bot API

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.

About

A Python-based project focused on building scalable APIs and solving real-world problems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages