Підключення першого Telegram-бота
Начало работы · 4 хв чтения
Prerequisites
- A Telegram bot created via @BotFather.
- Your bot token (format:
123456789:ABCdefGHIjklMNOpqrsTUVwxyz).
Steps
- Navigate to Bots in the sidebar.
- Click Add Bot.
- Paste your bot token.
- GramPixel automatically verifies the token, sets up a webhook, and starts tracking bot interactions.
What Gets Tracked
Once connected, GramPixel captures:
/startcommands — 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.