Connecting Your First Telegram Bot

Getting Started · 4 min read

Prerequisites

  • A Telegram bot created via @BotFather.
  • Your bot token (format: 123456789:ABCdefGHIjklMNOpqrsTUVwxyz).

Steps

  1. Navigate to Bots in the sidebar.
  2. Click Add Bot.
  3. Paste your bot token.
  4. GramPixel automatically verifies the token, sets up a webhook, and starts tracking bot interactions.

What Gets Tracked

Once connected, GramPixel captures:

  • /start commands — new users entering your bot
  • Message interactions and inline button clicks
  • Custom events sent via the API

Webhook Mode

GramPixel uses webhooks (not polling) for maximum performance. The webhook URL is configured automatically — do not change it in BotFather settings after connecting.

Was this helpful?