Skip to main content
Channel of type BOT_TELEGRAM. It is the simplest of the five flows: no OAuth, no Meta, no approval.

Requirements

  • A bot created through Telegram’s @BotFather
  • The token BotFather returns on creation

Creating the bot

1

Talk to BotFather

Open @BotFather on Telegram and send /newbot.
2

Pick a name and username

The username must end in bot — for example mystore_bot.
3

Keep the token

BotFather returns something like 123456789:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw. That is the token.
The token grants full control of the bot. Treat it as a password — do not commit it and do not expose it in the frontend.

Connecting

The SDK opens a window where the user pastes the bot token. Unlike the Meta channels, the response carries botToken instead of code — no OAuth is involved. Forward the whole object to finish the connection.

What is different on Telegram

Telegram is the least restricted of the five channels:
With no 24-hour window you start conversations whenever you want — as long as the user has started the bot at least once. That is Telegram’s rule: a bot does not talk to someone who never sent /start.