Telegram bot that parses TON gift data and sends notifications when new gifts become available.
- 🔍 Auto-monitoring - Continuously checks for new TON gifts
- 📢 Instant notifications - Get notified immediately when gifts appear
- ⚡ Fast parsing - Quick detection and processing
- 🎯 Smart filtering - Avoids duplicate notifications
- 📱 Telegram integration - Direct messages to your Telegram chat
- 🔄 Continuous operation - Runs 24/7 in the background
Clone this repository and install the required Node.js packages using npm.
- Open Telegram and find @BotFather
- Create a new bot with /newbot command
- Choose a name and username for your bot
- Copy the provided token
To get your user_auth token:
- Open @Tonnel_Network_bot in Telegram
- Perform any action in the bot (like checking gifts)
- Open Developer Tools (F12) in your browser on web.telegram.org
- Go to Network tab and look for "pageGifts" request
- Click on the pageGifts request → go to Payload
- Find the user_auth parameter - copy this value
Edit the config.js file and update these values:
- bot_token - Your bot token from BotFather
- user_auth - Your user_auth token from the browser
- chat_id - Your personal chat ID (get it by messaging your bot first)
- check_interval - How often to check for new gifts (in seconds)
- Node.js 14+
- npm or yarn
- Active internet connection
- Telegram account
- Valid bot token and user_auth
The bot uses your user_auth token to access Telegram's internal API and monitors TON gift channels. When new gifts are detected, it immediately sends a notification message to your specified Telegram chat with all the gift details. The bot runs continuously and checks for updates based on your configured interval.
MIT License
⭐ Star this repo if it helped you!