Skip to content

πŸ€– 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:

  1. In the main menu of our bot, go to πŸ€– Bot Constructor β€”> βž• Add Bot.
  2. Select the domain that will be linked to this bot.
  3. 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.

Image

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.

Image

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.

Image

  • πŸ“ 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 ​

Image

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:

  1. In the bot constructor, click πŸ”„ Change domain, and select the new one (it must be linked in the domain list).
  2. Re-add the buttons in πŸ“ Configure responses.
  3. 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.

Image

πŸ“₯ 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.

Image

‡️ 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.

Image

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.

Image

  • ⏱️ 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.

Image

  • 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.