Telegram Bot
Configure your Telegram bot for notifications and commands.
RestocksAIO includes a Telegram bot integration that allows you to receive notifications and interact with your instance through Telegram commands.
Getting Started
Step 1: Create a Telegram Bot
Open Telegram and search for @BotFather
Start a conversation with BotFather and send
/newbotFollow the prompts to choose a name and username for your bot
BotFather will provide you with a bot token (e.g.,
123456789:ABCdefGHIjklMNOpqrsTUVwxyz)Save this token - you'll need it in the next step
Step 2: Get Your Telegram User ID
Search for @userinfobot on Telegram
Start a conversation with @userinfobot
The bot will immediately reply with your User ID (a numeric value like
123456789)Save this User ID - you'll need it to authorize yourself
You must add your User ID to the authorized list, otherwise the bot will ignore your messages for security reasons.
Step 3: Configure in RestocksAIO
Open RestocksAIO and navigate to Settings
Click on Telegram Bot in the settings sidebar
Enter your Bot Token in the "Bot Token" field
Enter your User ID (or multiple IDs separated by commas) in the "Authorized User ID(s)" field
Configure notification preferences:
Send Telegram notifications for Bricker Mode sales: Enable to receive sale notifications
Send Telegram notifications for new offers: Enable to receive offer detection notifications
Send Telegram notifications for application errors: Enable to forward application errors to Telegram (disabled by default)
Click Save to save your settings
Click Test Bot to verify the connection
If the test is successful, you'll receive a confirmation message in Telegram. The bot is now ready to use!
Available Commands
Once configured, you can interact with your RestocksAIO instance using these commands:
/help
/helpShows a list of all available commands.
Example:
/helpResponse:
Available commands:
/info - Instance information
/notifications - Notification toggles
/notify_bricker_sales - Toggle Bricker Mode sales notifications
/notify_offers - Toggle offer detection notifications
/bricker_stats - Bricker stats snapshot
/bricker_start_all - Start all Bricker tasks
/bricker_stop_all - Stop all Bricker tasks
/help - Show this help message/info
/infoRetrieves detailed information about your RestocksAIO instance, including:
License Key: Your current license key
Subscription: Your subscription type (Trial, Standard, Premium, or Lifetime)
Server Connection: Whether the instance is connected to the RestocksAIO server
Database Status: Status of the database connection
Last Sync: Time since last synchronization
Example:
/infoResponse:
📊 RestocksAIO Instance Information
🔑 License Key: ABC123XYZ789
💳 Subscription: Premium
🌐 Server Connection: ✅ Connected
💾 Database Status: ✅ Online
🔄 Last Sync: Sync: Just now/notifications
/notificationsShows the current notification settings for your RestocksAIO instance with interactive buttons to toggle each setting:
Bricker Mode Sales: Whether notifications for Bricker Mode sales are enabled or disabled
Offer Detections: Whether notifications for offer detections are enabled or disabled
Error Forwarding: Whether application errors are forwarded to Telegram (disabled by default)
Example:
/notificationsResponse:
🔔 Notification Settings
Bricker Mode Sales: ✅ Enabled
Offer Detections: ✅ Enabled
Error Forwarding: ❌ Disabled
Tap a button to change the setting.The response includes On/Off buttons for each notification type. Simply tap the button to toggle the setting - no need to type commands!
/notify_bricker_sales
/notify_bricker_salesShows the current status of Bricker Mode sales notifications with interactive On/Off buttons to toggle the setting. When enabled, you'll receive notifications whenever a sale is made through Bricker Mode.
Example:
/notify_bricker_salesResponse:
Bricker Mode sales notifications are currently ✅ On.The response includes On/Off buttons - tap the button to change the setting.
/notify_offers
/notify_offersShows the current status of offer detection notifications with interactive On/Off buttons to toggle the setting. When enabled, you'll receive notifications when offers are detected on your listings.
Example:
/notify_offersResponse:
Offer detection notifications are currently ✅ On.The response includes On/Off buttons - tap the button to change the setting.
/bricker_stats
/bricker_statsRetrieves comprehensive statistics about your Bricker Mode tasks, including:
Controllers: Running, stopped, and total controller counts
Tasks: Running, stopped, sold, and error task counts
Session Sales: Total sales during the current session
Session Errors: Total errors encountered
Queue: Items currently in queue
Lowest Ask: Items with lowest ask vs. not lowest ask
Price Changes: Price changes in the last 24 hours
The response includes Start All and Stop All buttons for quick control.
Example:
/bricker_statsResponse:
📈 Bricker Mode Stats
Controllers: 5 running / 2 stopped / 7 total
Tasks: 12 running / 3 stopped / 8 sold / 1 errors
Session Sales: 8
Session Errors: 1
Queue: 5
Lowest Ask: 10 | Not Lowest: 5
Price Changes (24h): 15/bricker_start_all
/bricker_start_allStarts all Bricker Mode tasks. This command will initiate all stopped tasks across all controllers.
Example:
/bricker_start_allResponse:
▶️ Started all Bricker tasks./bricker_stop_all
/bricker_stop_allStops all Bricker Mode tasks. This command will halt all running tasks across all controllers.
Example:
/bricker_stop_allResponse:
⏹ Stopped all Bricker tasks.Notification Features
Bricker Mode Sales Notifications
When enabled, you'll receive rich notifications whenever a sale is made through Bricker Mode, including:
Product name and image
Site where the sale occurred
Style code (SKU)
Size
Store price and payout information
Order ID
Sale timestamp
Offer Detection Notifications
When enabled, you'll receive notifications when offers are detected on your listings, including:
Product name and image
Site where the offer was made
Style code (SKU)
Size
Offer amount and payout
Profit if accepted
Accept Offer button - Tap to accept the offer directly from Telegram
Error Forwarding
When enabled (disabled by default), application errors will be automatically forwarded to Telegram, including:
Error type and function
Alert level (Warning or Important)
Error description
Solution description (if available)
Stack trace (truncated if too long)
Error forwarding is disabled by default to prevent notification spam. Enable it only if you want to monitor application errors remotely.
Multiple User IDs
You can authorize multiple Telegram users to interact with your bot by entering multiple User IDs separated by commas:
Example:
123456789,987654321,555666777Each authorized user will be able to use all bot commands and receive notifications.
Troubleshooting
Bot Not Responding
Check your Bot Token: Make sure you copied the complete token from BotFather
Verify User ID: Ensure your User ID is correctly entered in the authorized list
Test Connection: Use the "Test Bot" button in settings to verify connectivity
Check Bot Status: Make sure the bot is running (it should start automatically when you save valid settings)
"Unauthorized" Messages
If you receive no response from the bot, it means your User ID is not in the authorized list:
Double-check your User ID using @userinfobot
Ensure the User ID is correctly entered in settings (no extra spaces)
Save settings and test again
Connection Errors
If you see connection errors:
Verify your internet connection
Check that Telegram is accessible from your network
Ensure the bot token is valid and hasn't been revoked
Try stopping and restarting the bot using the Test button
Security Notes
Keep your Bot Token secret: Never share your bot token publicly
Authorized Users Only: Only users whose IDs are in the authorized list can interact with your bot
Regular Updates: Keep RestocksAIO updated to receive the latest security improvements
Next Steps
Once your Telegram bot is configured, you can:
Monitor your instance status remotely using
/infoReceive real-time notifications for sales, offers, and errors
Control Bricker Mode tasks remotely using
/bricker_stats,/bricker_start_all, and/bricker_stop_allToggle notification settings easily using interactive buttons
Accept offers directly from Telegram notifications
Interact with your RestocksAIO instance from anywhere
Last updated
Was this helpful?