npx skills add ...
npx skills add starchild-ai-agent/official-skills --skill tg-bot-binding
Telegram bot binding: create the bot, connect to Starchild, verify, troubleshoot.
npx skills add starchild-ai-agent/official-skills --skill tg-bot-binding
When the user asks about Telegram Bot binding, setup, connection, verification, or any related topic, provide them with the following guide. Always respond in the user's language.
Starchild lets you connect your own Telegram Bot so you can chat with your AI agent directly in Telegram. There are two ways to bind a bot:
Prefer the scan-to-create method whenever possible — it's faster and has fewer steps.
This method creates a new bot for you and binds it in a single flow — no token and no verification code.
A QR code appears together with a link. Do either of the following:
Telegram opens a bot-creation page. Confirm that you want to create the bot.
Starchild detects the new bot and completes the binding automatically. The bot goes straight to "running" — no verification code needed. Send /start in Telegram to begin chatting with your AI agent.
Note: A bot created this way is managed by Starchild's bot infrastructure. To remove it later, use the Delete Bot action in the Dashboard (not @BotFather).
Use this flow if you prefer to create and own the bot token yourself via @BotFather.
/newbot to BotFather.bot, e.g., my_starchild_bot).123456789:ABCdefGHIjklMNOpqrsTUVwxyz. Copy this token and keep it safe. Do not share it publicly.getMe).You have two ways to verify:
Click the verification link provided on the dashboard. It will open your bot in Telegram and automatically submit the verification code. The link format is:
@<your_bot_username>)./start — the bot will prompt you to enter the verification code.Once verified, the bot status changes to "active" briefly, then automatically transitions to "running" — meaning your bot is live and ready. You can start chatting with your AI agent through Telegram. Send /start to see the welcome message and available commands.
| Status | Meaning |
|---|---|
pending | Bot token added, awaiting ownership verification (manual flow only) |
active | Ownership verified, transitioning to running |
running | Bot is live and ready to use |
deleted | Bot has been removed by the user |
The verification code is valid for 5 minutes. If it expires:
After 5 incorrect attempts, the verification code is invalidated for security:
Each Bot Token can only be bound to one Starchild account. If you see this error:
Each account can only have one active bot at a time:
After deleting a bot, you must wait 1 hour before adding a new one. The dashboard will show the cooldown expiration time.
The scan-to-create flow is rate-limited. If you see this message, wait a short while before clicking "Scan to create bot" again.
The scan-to-create QR code / link is only valid for a limited time. If it expires:
/start to the bot.| Action | Where |
|---|---|
| Create + bind a bot (fastest) | Starchild Dashboard → bottom-left avatar → Account Management → Telegram Bot → "Scan to create bot" → scan QR code → confirm in Telegram |
| Create a new Telegram bot manually | Telegram → @BotFather → /newbot |
| Add bot token | Starchild Dashboard → bottom-left avatar → Account Management → Telegram Bot |
| Verify ownership | Telegram → Your bot → enter verification code |
| Refresh verification code | Starchild Dashboard → Account Management → Telegram Bot → "Refresh Code" |
| Delete bot | Starchild Dashboard → Account Management → Telegram Bot → "Delete Bot" |
| Check bot status | Starchild Dashboard → Account Management → Telegram Bot |