Esc
  • Jump to
  • The board
  • All launchesSort and filter by week or category
  • Open statsEvery number, in public
  • Maker storiesApps that stopped hiding
  • Submit a launch
  • AICategory
  • AnalyticsCategory
  • API & BackendCategory
  • Audio & VoiceCategory
  • AutomationCategory
  • CommunityCategory
↑↓ to move↵ to openPress / anywhere
Sign in

How to Launch a Telegram Bot (2026)

Register your bot with @BotFather, pick webhooks or long polling, follow Telegram Stars and rate-limit rules, and reach your first users in Telegram channels and launch directories.

By Pritam Ghosh, founder of HauntboardUpdated 7 min read

Register and Polish Your Bot in @BotFather

Unlike mobile app stores, Telegram lets your bot accept users immediately without a review queue. Registration starts inside @BotFather (or the @BotFather Mini App) with the /newbot command.

Per Telegram's Bot Features guide, you choose a display name and a username. Usernames are 5 to 32 characters, case-insensitive, limited to Latin letters, numbers and underscores, and must end in bot (for a made-up uptime monitor, pingpulse_bot or PingPulseBot). Display names can change anytime, but usernames are permanent unless you delete the bot or assign a collectible username via Fragment.

@BotFather returns an HTTP API token prefixed with bot on every call to api.telegram.org. Treat it like a database root password: store it in environment variables, enable two-step verification on your owner account, and rotate leaked tokens immediately with /token. Before sharing your bot, fill out its profile fields:

  • Description (/setdescription): up to 512 characters shown under "What can this bot do?" before a user taps Start, paired with a screenshot or short demo video via Edit Description Picture.
  • About text (/setabouttext): up to 120 characters displayed on the profile and carried when users forward your t.me link. Both description and about text support per-language localization via the API.
  • Profile picture and commands: set a clear icon (/setuserpic) and register concise slash commands (/setcommands, up to 32 characters, lowercase letters, numbers and underscores). Telegram recommends specific actions like /newalert over vague commands like /new.
  • Privacy mode: enabled by default in groups so bots only receive explicit commands (/cmd@your_bot), replies to their messages, inline messages sent via the bot and service messages. Keep it on unless strictly required, because group admins hesitate to add bots that read full chat history.

Webhooks vs Long Polling in Production

The Telegram Bot API supports two mutually exclusive update methods: pulling via getUpdates (long polling) or pushing HTTPS POST requests via setWebhook. Per the Bots FAQ, long polling stops working while a webhook is set, so keep a separate dev bot token.

DetailLong Polling (getUpdates)Webhooks (setWebhook)
Best fitLocal development or a single always-on workerProduction web servers and serverless handlers
DeliveryPulls up to 100 updates; pass offset = last_update_id + 1Immediate HTTPS push; max_connections defaults to 40 (1 to 100)
NetworkOutbound HTTPS only; no public domain neededPublic IPv4 HTTPS URL required (IPv6 unsupported)
RetriesUse a positive timeout (0 is short polling for tests)Return HTTP 2xx promptly; other codes trigger retries

Most webhook issues stem from TLS or port errors. Follow Telegram's Webhook Guide and setWebhook docs:

  1. Use an allowed port: Telegram only connects to ports 443, 80, 88 and 8443 over HTTPS, with no HTTP redirects.
  2. Serve TLS 1.2 or newer: SSLv2/3 and TLS 1.0/1.1 are rejected. Match the certificate CN or SAN to your domain and send the full intermediate chain (or upload a self-signed PEM public key as an InputFile via certificate).
  3. Authenticate requests with secret_token: pass a 1 to 256 character token (A-Z, a-z, 0-9, _, -) in setWebhook and verify the X-Telegram-Bot-Api-Secret-Token header on every POST. If you also filter IPs, Telegram lists subnets 149.154.160.0/20 and 91.108.4.0/22, though those ranges can change.
  4. Filter updates: set allowed_updates to the event types you process (note that chat_member, message_reaction and message_reaction_count are excluded unless explicitly listed).

Commands, Inline Mode and Telegram Mini Apps

Bots lose first-time users when simple settings require ten typed messages. Pick the interface that matches your workflow:

  • Commands and inline keyboards: attach inline keyboards below messages so users tap callback buttons without cluttering chat history, editing the keyboard in place as options change.
  • Inline mode: enable /setinline in @BotFather so users can type @your_bot query in any chat, group or channel to share cards or results directly, creating built-in organic discovery.
  • Deep linking: append ?start=payload (private chats) or ?startgroup=payload (groups) to https://t.me/<bot_username> using up to 64 characters (A-Z, a-z, 0-9, _, -) to attribute traffic, route onboarding or link accounts.
  • Telegram Mini Apps: when your product needs forms, dashboards or catalogs, build a JavaScript interface on the Telegram Mini Apps platform. Launch it from inline buttons, a custom Menu Button (/setmenubutton or setChatMenuButton) or a main Mini App button.

Never trust unverified user IDs from a Mini App frontend. Per Telegram's Mini App validation docs, send Telegram.WebApp.initData to your server, build the sorted newline-delimited data-check-string, derive the secret key via HMAC_SHA256(<bot_token>, "WebAppData"), verify the hex HMAC-SHA-256 signature against hash, and check auth_date. If you ship across chat ecosystems, compare this setup with our guide on how to launch a Discord app.

Telegram Stars, Physical Payments and Rate Limits

Telegram divides bot monetization into two distinct policies, and mixing them up risks having your bot hidden on mobile apps.

Digital goods and services: Telegram Stars

Under Telegram's Digital Goods Payments API and Section 6.2 of the Bot Platform Developer Terms, all digital goods and services sold inside Telegram bots and Mini Apps must use Telegram Stars (currency: "XTR", empty provider_token, single prices item). This keeps Telegram compliant with Apple App Store and Google Play rules; third-party processors, external checkout workarounds and cryptocurrency are not permitted for digital goods inside Telegram apps.

  1. Send the invoice with sendInvoice (currency: "XTR" and a 1 to 128 byte internal payload).
  2. Answer pre_checkout_query via answerPreCheckoutQuery within 10 seconds or checkout cancels automatically.
  3. Fulfill the order only after receiving successful_payment, never on pre_checkout_query alone.
  4. Store telegram_payment_charge_id so you can refund users via refundStarPayment.

Your bot must support /terms, /support and /paysupport (required for payment disputes under Section 6.2.1), and state that Telegram support does not handle merchant disputes. See our guide to privacy policy and terms for a new SaaS to draft clear policies. Per Sections 6.2.3 and 6.2.4, earned Stars can buy Telegram Ads (0.02 USD ad credit per Star) or be withdrawn as rewards via Fragment (0.013 USD equivalent per Star, subject to up to a 21-day hold and regional Fragment availability).

Physical goods and services

For physical products or real-world services, use Telegram's Bot Payments API. Connect one of more than 20 providers (such as Stripe) via /mybots > Bot Settings > Payments, verify checkout in Stripe TEST MODE first, then switch to live mode. Telegram charges no commission (provider fees still apply) across invoices roughly between USD 1 and USD 10,000.

Rate limits and media caps

Queue outbound traffic around the limits in Telegram's Bots FAQ to avoid HTTP 429 errors:

  • Private chats and groups: stay under 1 message per second in a single chat and 20 messages per minute in a group.
  • Bulk broadcasts: free broadcasts cap near 30 messages per second overall. Paid broadcasts (allow_paid_broadcast) scale to 1,000 messages per second at 0.1 Stars per delivered message once your bot holds at least 100,000 Stars and 100,000 monthly active users.
  • Files and cold outreach: standard Bot API calls cap downloads (getFile) at 20 MB and uploads at 50 MB, and bots can never message a user who has not started the bot or added it to a group first.

Getting Your First Users in Channels and Directories

Telegram has no single curated app store that hands new bots free traffic on day one. Start by onboarding 10 to 20 testers using our beta tester guide so you catch broken flows right after /start.

Build a dedicated web landing page instead of pasting a raw t.me link. Show a 15-second demo video inside Telegram, list key commands, explain privacy mode clearly, and point your main button to a tracked deep link like https://t.me/your_bot?start=web_home. Tag external links with the UTM builder so you see which sources produce real starts.

Inside Telegram, reach out to niche channel admins whose audiences already face the problem you solve. Never spam group chats; send a direct, helpful note:

channel pitch template
"Hi Admin Name, I read Channel Name for specific topic. I built @your_bot, a free Telegram bot that one-sentence utility for their readers. Happy to give you early access or set up a custom feature/filter if you want to test it first. No pressure if it is not a fit."

Once usage grows, pair native Telegram affiliate programs or Star-funded Telegram Ads with external launch boards. Polish your copy with how to write a launch listing and submit your landing page to Product Hunt and Hauntboard. On Hauntboard, a person reviews every launch (free launches in about 72 hours, paid options within 24 hours), new listings spend 7 days in New this week before joining the all-time leaderboard, and page views, visits sent and votes stay public.

Frequently Asked Questions

Once your @BotFather profile, webhook verification and landing page are live, submit your Telegram bot on Hauntboard alongside your channel outreach so founders and search engines can find it.

Can I change my Telegram bot's username after launch?

No. You can edit display name, description, about text and profile media anytime, but the @username registered in @BotFather is permanent unless you delete the bot or attach a collectible username via Fragment.

Do I have to use Telegram Stars for a paid bot subscription?

Yes for digital goods, virtual features and digital subscriptions inside Telegram bots or Mini Apps. Telegram requires Stars (XTR) to comply with Apple and Google store rules; third-party processors like Stripe are only allowed for physical goods and real-world services.

Why is my webhook not receiving updates from Telegram?

Verify the core webhook rules: IPv4 reachability on port 443, 80, 88 or 8443; HTTPS with TLS 1.2+ and a full certificate chain (no redirects); uploading any self-signed certificate as an InputFile; and returning HTTP 2xx promptly.

Can a Telegram bot message users who have not started it?

No. Telegram prevents bots from opening private chats unsolicited. A user must message the bot first (for example through your t.me deep link) or add it to a group.

Share

in

Pritam Ghosh runs Hauntboard and writes these guides.

Published · Updated

Got no audience? Start here.

A person reviews every launch, and every view and visit it gets is public. Launching is free.

Launch free →

Keep reading

All guides →

On the board

All →

Still hiding your app?

Put it on the board. Reviewed by a person, free to launch.

Launch free
Submit a launch