TG Casino Integration Bot
A full casino companion bot deeply integrated with your platform — login, deposit, withdraw, balance, promotions, game shortcuts and auto-login to your website, all inside Telegram.
Try sample bot: @Jaya99casino_botWhat the Casino Bot can do
A complete in-chat experience that mirrors the most-used features of your casino site.
Login & session refresh
Players log in with their casino credentials. The bot stores and auto-refreshes the session token in the background.
User profile
Shows username, phone, email, balance and VIP level — all pulled from your platform.
Wallet balance
Real-time main balance, free credit and total balance — checked any time without leaving Telegram.
Deposit flow
Loads deposit payment options (banks, e-wallets, etc.) directly from your cashier and submits deposits in-chat.
Withdraw flow
Lists the player's saved bank accounts and submits withdrawal requests to your platform.
Deposit & withdraw history
Paginated history of deposits and withdrawals with amount, status and date.
Game shortcuts
Lists game types pulled from your platform and routes players to the right game with one tap.
Promotions
Loads the active promotion list per language and lets players claim or open promo pages directly.
Auto-login to website
Generates a one-time login URL so players land directly inside their account on your latest website.
Referral tracking
Counts total members under each referral / agent code via your ads API.
Login & session refresh
Players log in with their casino credentials. The bot stores and auto-refreshes the session token in the background.
User profile
Shows username, phone, email, balance and VIP level — all pulled from your platform.
Wallet balance
Real-time main balance, free credit and total balance — checked any time without leaving Telegram.
Deposit flow
Loads deposit payment options (banks, e-wallets, etc.) directly from your cashier and submits deposits in-chat.
Withdraw flow
Lists the player's saved bank accounts and submits withdrawal requests to your platform.
Deposit & withdraw history
Paginated history of deposits and withdrawals with amount, status and date.
Game shortcuts
Lists game types pulled from your platform and routes players to the right game with one tap.
Promotions
Loads the active promotion list per language and lets players claim or open promo pages directly.
Auto-login to website
Generates a one-time login URL so players land directly inside their account on your latest website.
Referral tracking
Counts total members under each referral / agent code via your ads API.
APIs you need to provide
The Casino Bot consumes the following endpoints from your platform. You don't need to build them all from scratch — if you already have similar APIs, share the docs and we'll adapt to your format.
Global Rule: Authentication
Request Format
Standard request format: all calls go to your API_URL base, authenticated with an X-Api-Key header and Authorization: Bearer <token>.
Token Refresh
The bot stores the player's username + password (encrypted) and re-calls /login to refresh the token automatically when it expires.
Already have your money site API docs? Send docs to us — we'll review and let you know whether we can integrate. If feasible, the build typically takes 3–4 weeks from confirmation to go-live.
Technical API Reference
| Method | Endpoint | Description | Auth |
|---|---|---|---|
| POST | {API_URL}/login | Authenticate the player using username + password and receive a session token. | Required |
| GET | {API_URL}/telegram/getUserInfo | Return the player's account info (username, phone, email, balance, VIP level, etc.). | Required |
| GET | {API_URL}/telegram/userBalance | Return the player's main balance, free credit and total balance. | Required |
| GET | {API_URL}/telegram/depositInfoV2 | Return the available payment channels (banks / e-wallets) for deposits. | Required |
| POST | {API_URL}/telegram/deposit | Submit a deposit request from the player to your platform. | Required |
| GET | {API_URL}/telegram/depositHistory | Return a paginated list of the player's past deposits (id, amount, status, date). | Required |
| POST | {API_URL}/telegram/withdraw | Submit a withdrawal request using the player's saved bank account. | Required |
| GET | {API_URL}/telegram/withdrawHistory | Return a paginated list of the player's past withdrawals (date, amount, status). | Required |
| GET | {API_URL}/telegram/gameType | Return the list of game categories / providers available to the player. | Required |
| GET | {API_URL}/telegram/promotionList | Return the active promotions list. Localised by Language header (en / ms). | Required |
| POST | {API_URL}/telegram/oneTimeToken | Generate a one-time login token + return the latest website URL the player should be redirected to. | Required |
| GET | /api/ads/total-member-under-the-referral-code/{referral_code} | Return the total members registered under a given referral / agent code. | Required |
Bot Connect
Create a bot with @BotFather
Open Telegram, message @BotFather, run /newbot, choose a name, and grab the HTTP API token.
Add your bot token to TeleFlies
In your TeleFlies dashboard, go to Bot Connect → paste your token → save.
Provide your casino API base URL & key
Share your API_URL, X-Api-Key, and the endpoint paths for all required APIs.
Test & go live
Run end-to-end test flows. Once verified, share your bot link with players.
Delivery timeline
3-4 WeeksStep 1 (Day 1)
Share your API docs for integration review.
Step 2 (2–3 days)
Review specs & finalize mapping.
Step 3 (3–4 weeks)
Build, QA, UAT, and final go-live.