Telegram

Telegram Automation

BotFather token setup, start menu, referral deep links, rich media messages, and Telegram invoices.

Connect Telegram bot

  1. In Telegram, message @BotFather — send /newbot, follow prompts, copy the bot token.
  2. In DMpro, go to /settings#accounts or /onboarding.
  3. Click Connect Telegram — paste token in the Bot token modal.
  4. DMpro registers webhook automatically — confirm Connected with @bot_username.

Start menu button trigger

  1. Open /campaigns/telegram/new.
  2. Drag Start menu button trigger.
  3. Configure menu button labels in BotFather (/setcommands or custom keyboard) to match trigger payloads.
  4. Flow runs when user taps /start menu button.

Received message trigger

  1. Drag Received message trigger.
  2. Set keyword match on inbound text.
  3. Respond with Send message, Send buttons, AI Response, etc.

Referral deep link trigger

  1. Drag Referral deep link trigger.
  2. Create link format: https://t.me/YourBot?start=campaign_payload.
  3. Set Payload in inspector to match start parameter.
  4. Track affiliate or campaign source via unique payloads.

Rich media actions

  • Send sticker — static or animated Telegram sticker
  • Send GIF — animation via Telegram document API
  • Send location — map pin
  • Send contact card — share phone/contact
  • Send invoice — Telegram Payments invoice (requires payment provider setup in BotFather)

Branch logic on Telegram

  1. Add Branch block — Telegram uses button-based paths.
  2. Configure 2+ button options — each branch continues to different actions.

Publish Telegram campaign

  1. Select connected bot in header dropdown.
  2. Click Publish campaign.
  3. Open t.me/YourBot?start=test to verify referral trigger.

Still stuck? We’re happy to help.

Create your DMpro account, see pricing, or reach out to support directly.

Back to Help Center