Spaces:
Runtime error
Runtime error
| title: Telegram Premium Bot | |
| emoji: ๐ | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: docker | |
| pinned: false | |
| # Telegram Premium Shop Bot | |
| Ushbu bot Telegram Premium sovg'a obunalarini (Gift links) Telegram Stars orqali sotish uchun mo'ljallangan. | |
| ## Texnologiyalar | |
| - **Python (aiogram 3.x)** | |
| - **MongoDB (motor)** - Ma'lumotlarni ishonchli saqlash uchun | |
| - **Docker** - Hugging Face Spaces platformasida ishga tushirish uchun | |
| - **aiohttp** - Hugging Face port tekshiruvi uchun veb-server | |
| ## Sozlash va Ishga Tushirish | |
| 1. GitHub-ga yuklang. | |
| 2. Hugging Face Spaces-da yangi Space yarating (SDK: **Docker** deb tanlang). | |
| 3. Space sozlamalarida quyidagi o'zgaruvchilarni (Variables and Secrets) qo'shing: | |
| - `BOT_TOKEN` - BotFather-dan olingan token | |
| - `ADMIN_IDS` - Adminlar ID raqamlari (vergul bilan ajratilgan) | |
| - `MONGO_URI` - MongoDB Atlas ulanish manzili | |