Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
This bot automates the process of purchasing new gifts in Telegram using the official API. It is designed for collecting or reselling gifts (for example, star gifts), taking into account specified filters by price, type, and uniqueness.

Functionality:
Analysis of new gifts:
When the bot starts, it reads a saved list of already known gifts from a text file.
It retrieves the current list of gifts from the Telegram API.
It identifies new gifts by comparing the two lists.

Automatic purchase:
Automatically buys only those gifts that meet the filters:
Minimum / maximum price (MIN_PRICE, MAX_PRICE)
Limited edition gifts
Upgradable gifts
The number of purchases for each gift is regulated by the parameter BUY_LIMIT_PER_GIFT.

Flexible settings via .env:
Authorization data (API ID, HASH, phone number)
Check timing (CHECK_INTERVAL)
Language, time zone, restrictions
Recipient user ID (RECIPIENT_USER_ID)
Channel ID for notifications (CHANNEL_ID)

Message to the channel:

After completing operations, the bot sends a report to the specified Telegram channel with information about purchased gifts, expenses, and remaining balance.

History saving:
All already known gifts are stored locally to avoid re-purchasing in the future.
Programming language: Python
Libraries: Telethon, asyncio, python-dotenv
Telegram API: Official Telegram API for working with gifts and payments
Logic system: Asynchronous processing with rate limit control (FloodWait protection)
Work details
Budget 111 USD
Added 28 July 2025
202 views
Freelancer
Vasil M.
Ukraine Kolomyya  8  0

Available for hire Available for hire
9 Safes completed
On the service 4 years