iDos Games Docs
  • Welcome
  • Getting Started
    • Quick Start
    • Telegram Mini Apps
  • Settings
    • Dashboard
    • Platform Settings
    • Secret Key
    • In App Purchase
    • Crypto
    • Email
    • AI Services
    • Integrations
  • LiveOps
    • Title Config
    • Title Data
    • Users
    • Catalogs
    • Currency
    • Shop
    • Leaderboard
    • Weekly Events
    • Rewards
    • Marketplace
    • Referral System
  • API
    • Authentication
    • User Data
    • Crypto Wallet
    • Referral
    • Chest
    • Friend
    • Marketplace
    • Purchase
    • Reward
    • Shop
    • Spin
    • Time Limited Event
    • Subscription
    • Server API
    • Admin API
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started

Telegram Mini Apps

How to create a Web3 Game from scratch and add it to Telegram Mini Apps

PreviousQuick StartNextDashboard

Last updated 4 months ago

Was this helpful?

Before we add our Web3 game to Telegram Mini Apps you can .

  1. You need to go to to create a bot and app in Telegram.

  1. Create New Bot

To start you need to press the Start button or send:

/start

To create a new bot you need to send:

/newbot

Give your bot a name and send it to chat:

MyTgGame

Now we need to give username to the bot so it ends in “bot” and send:

MyTgGame_bot

Your bot has been created. Now you can move on to creating the app.

  1. Create New App

To create a new web app you need to send:

/newapp

The app binds to a specific bot, you need to send its name with an @ sign:

@MyTgGame_bot

Next, enter the name of the web application:

My Tg Game

After that, you need to enter a short description:

My Tg Game description

Next, you need to send a picture of your app with a strict resolution of 640×360 pixels.

After that you need to upload the GIF or send it:

/empty

Now we need to paste the link to the game we got here, you need to copy the link belonging to the yellow “Play Now Web Application” button, which is in Dashboard

Now please choose a short name for your web app: 3-30 characters, a-zA-Z0-9_. This short name will be used in URLs like t.me/MyTgGame_bot/myapp and serve as a unique identifier for your web app.

myapp

Now you have your own game in Telegram!

  1. Server settings

Now we need to get a Bot Token:

/mybots

Select your bot by clicking on the bot name and click API Token.

In the Telegram section there is a field “Telegram Bot Token”, there you need to insert your API token obtained from @BotFather and click “Save Settings” button.

After successfully saving the settings, click on the “Register Telegram Webhook” button.

And in “Platform Settings” under “Telegram Mini Apps”, change the “Referral App Link” field to the link of your Telegram game. This is necessary for the referral link to work correctly in your Telegram Mini App.

Congratulations! You now have a game in Telegram Mini Apps! Now you can set up advertising and start earning from your game!

The obtained API token should be inserted into your . To do this, go to Settings -> Integrations in the menu.

Title Settings
create a Web3 game in 1 minute
BotFather