π€ Bot Constructor β
Add a Telegram bot to the bot constructor, customize messages and other features of the constructor.
Page Contents
Bot Functionality β
βΉοΈ What does βfunctionalityβ mean?
For a bot to start responding to users, a script must be connected to its token. This script processes incoming messages and sends replies to users.
We provide our workers with a Bot Constructor, which allows you to set up a complete interaction scenario without any programming knowledge.
Connecting a Bot to the Bot Constructor β
To connect your bot to the builder, follow these steps:
- In the main menu of our bot, go to π€ Bot Constructor β> β Add Bot.
- Select the domain that will be linked to this bot.
- Enter the bot token from BotFather (click).
The token is provided when creating the bot. You can also find it again by sending the command /mybots β> your bot β> Api Token.
Example of a token: 7718084307:AAFj8YgTzkHIqWdKwF3HN2fK5q1aWezLLKg
Configuring a Welcome Message β
To make your bot respond to users, navigate to π€ Bot Constructor β> your bot β> π Configure responses.
Click "Change text" and send the message that targets will receive.
You can attach files, use formatting, and add variables to your message.
β’ {first_name} - userβs first name
β’ {last_name} - userβs last name
β’ {username} - username without @
β’ {@username} - username with @
β’ {telegram_id} - userβs Telegram ID
β’ {ton} - TON to USD exchange rate
π² Random values and calculations:
β’ {random(x,y)} - random number from x to y
β’ {1: expression} - store result in label 1
β’ {2: ^1 * 2} - use label 1βs value
Example Welcome Message
To configure buttons for the welcome message, click π Back β> π Manage buttons.
Add the buttons you need. At the very least, we recommend including: a WebApp button and a "Link" button β point it to your official resource.
Example Button Configuration
If it fits your creative concept β we recommend enabling the referral system. Click π Back β> π₯ Referral program.
The referral system encourages targets to spread your resource under the guise of a reward.
- π Change message β enter the text shown to the user when someone joins using their referral link;
- π Manage buttons β if needed, add buttons to this message as well.
Add a button with a message that describes your referral program "terms" in the welcome message.
To do this, go to the botβs main settings menu: π Configure responses β> π Manage buttons β> β Add Button β> π¬ Text.
Use the variable {referral_link} in your message.
Example Referral Message
Basic bot setup is complete. The bot is now styled and will respond to users with your welcome message.
Example Start Message
β οΈ Attention
By default, the bot is disabled in the constructor. To enable it, go to the botβs settings main menu and click "π Start"
Constructor Features β
Guide to the features and how to use them in the bot constructor.
π Configure responses β
Edit the message your bot sends to users.
This is explained in detail in the Configuring the welcome message section.
π Start and βΉοΈ Stop β
Enable or disable the botβs token in the constructor.
β Delete bot β
Permanently removes the bot from the constructor and frees up the slot.
π Change domain β
Here you can change the drainer domain linked in the WebApp. Useful if the domain has been blocked.
Full domain replacement process:
- In the bot constructor, click π Change domain, and select the new one (it must be linked in the domain list).
- Re-add the buttons in π Configure responses.
- To update the domain in the WebApp button, repeat the steps from Extra Settings
π Statistics β
Displays user statistics for your bot.
Note: A domain visit β bot user. If someone visits your domain without starting the bot with the /start message, they won't appear in the stats.
π₯ Export database β
Downloads the database of all users in CSV format:
user_id,first_name,last_name,username,date_added
Useful if you decide to stop using our constructor and switch to your own solution.
π Change name β
Visual setting to rename your bot inside the constructor.
β€΅οΈ Transfer settings β
Transfers the constructor settings from one bot entity to another.
Practical example: Your Telegram bot got deleted and you created a new one. Just add the new bot to the constructor and use this feature to copy settings from the old one.
β Statistics collection β
Here you can enable or disable user tracking in the database.
Attention! When statistics collection is turned off, users who interact with your bot won't be added to the database, meaning you wonβt be able to message them later.
This feature is useful if you're simulating bot starts and want to avoid cluttering your database with fake users. Donβt forget to enable stats collection again before launching traffic!
WebApp Features β
The bot constructor can manage the WebApp button in the input field by itself.
You donβt need to run the /setmenubutton command in @BotFather, as explained in Extra Settings.
- β WebApp in corner β toggles WebApp button visibility.
- π¬ Configure WebApp text β changes the button text.
Mailing β
βΉοΈ What are mailings?
Mailings are messages sent to Telegram users by your bot.
The purpose of a mailing is to bring the victim back to your drainer offer. To receive a message, the user must be in your botβs database. If statistics collection is enabled, this happens automatically when the user sends the /start command.
β οΈ Warning
If you use variables in your message, do not format them. For example, {@username} will not resolve to the userβs @Username if it's bolded.
Avoid formatting variables!
π° Start mailing β
Use this option to launch a one-time broadcast to all users.
You must enter the message (supports formatting, variables, attachments), optionally configure buttons, and then confirm sending.
Example of a mailing
β±οΈ Interval mailing β
This feature allows you to set up automated mailings based on a defined time interval.
- β±οΈ Set interval β specify how often the interval mailing should occur;
- π Configure message β enter the mailing message (supports formatting, variables, attachments);
- π’ Enable / π Disable β turn interval mailing on or off;
- π / π β send the mailing silently (without a notification) or with a notification.
π¦ Mailing templates β
In this section, you can manage mailing templates.
Single mailing templates. Switch the template type, enter a name and a message (supports formatting, variables, attachments).
A template will be created. You can launch a mailing based on it with a single click.Interval mailing templates. Switch the template type, enter a name and a message (supports formatting, variables, attachments).
A template will be created. You can insert its message into the interval mailing (interval and notification settings are taken from the interval mailing settings) with a single click.