Telegram Mini App
Open a HOMEGAME24 session inside Telegram so players sign in with Telegram identity — no username/password form. Use the HOMEGAME24 bot by default or optionally connect your own.
What you need
- The HOMEGAME24 Telegram bot, or a custom Telegram bot from BotFather, with the Mini App URL set to the HOMEGAME24 play launcher:
https://homegame24.com/play. - For a custom bot, its token saved under Admin → Integrations with Use Custom Bot enabled. Switch it off to retain the credentials while using the HOMEGAME24 bot.
- A session with Telegram sign-in and Allow registration enabled. Both are on by default for new sessions, and registration stays on while Telegram sign-in is enabled.
New players can sign up through Telegram or the primary login method and are added to the session’s player group, if one is selected.
To allow only existing players, turn off Telegram sign-in, then turn off registration, and leave guest play off.
Share the session
Copy the session play link from the panel (/play?s=<session_id>), or send a bot deep link:
https://t.me/<your_bot>/<mini_app>?startapp=<session_id>
session_id is the 26-character run id from the panel.
Player experience
- Player opens the link inside Telegram.
- The game loads in the Telegram WebView.
- Sign-in is automatic via Telegram identity.
- Same client UX as the browser (join, play, chat).
If someone opens the same play URL in a normal browser, they use the session’s primary login method.
For developers
| Step | Detail |
|---|---|
| Account bot | GET/PATCH /api/me/integrations (token never returned; telegram_bot_token_set only) |
| Session option | options.telegram_login = true options.registration = true. Registration is required. Keep the primary login method for browser sign-in. |
| Private auth | POST /_private/player-auth/telegram with client_id, session_id, init_data |
| Game proxy | POST /auth/telegram with session_id, init_data |
| Token shape | Same player JWT as password / OTP |
Also see the Integration API docs for roster and session automation (separate from Mini App auth).
Safety
HOMEGAME24 hosts social / play-money games — not real-money gambling. Telegram Stars payments are not part of this login flow.
