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.Connecting
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.