Connecting a bot
Your own Telegram bot that opens the sign-in page
Authorizer links open your bot’s Mini App. The person will see the bot’s @username, so pick a clear one. You can have several bots, each with its own links and accounts.
The bot and Mini App in @BotFather
- In @BotFather, send
/newbotand copy the token that looks like123456789:AA…. - Send
/newappand choose the bot. In Web App URL, paste the address likehttps://<panel domain>/telegram-auth: TGNOW shows it with a Copy button in the bot connection window. - Enter the short name. The easiest is
login, which TGNOW fills in by default. Latin letters, digits and_, 3 to 64 characters.
Without a Mini App, the link opens the bot but doesn’t show the sign-in page. You can fix an existing Mini App with /myapps.
The token gives full access to the bot. If it leaks, issue a new one in @BotFather and paste it into New token in the bot settings.
Connecting to TGNOW
Add a bot → I have a token, fill in Bot token and Mini App short name (the same as in @BotFather), then click Connect the bot.
Bot status
- Connected: links work.
- Error: the last check failed, the reason is under the bot’s name.
- Disabled: links don’t work.
Bot settings
Panel name, up to 128 characters, isn’t visible to the person. If you changed the Mini App short name in @BotFather, change it here too, then reissue the links.
Connection prewarming speeds up the start of sign-in and is set in each link. Each connection takes one thread. It has nothing to do with Warmup.
Disconnect the bot works only when the bot has no links left.
Tips
- “Telegram rejected this token”: copy the token from @BotFather again.
- The Check button asks Telegram again whether the token is valid.