💪 8. Telegram integration
The next step of creating a Mini App is registering a web app to our bot. Follow these steps to register your web app to your Telegram bot:
- Deploy the game to the internet.
- From the list of commands of the @BotFather, click
/newapp
or send it as a message to the chat. - Choose a bot, send its player name to the chat. In our example, we used
@dailycheckinbot
. - Bot father asks you to enter a title. In our example, we used
DailyCheckin
. - Then, enter a description: write something that describes the functionality of your game and the benefits that it brings to its players.
- Upload a 640x360 photo, just send it to the chat. For the GIF step, you can send
/empty
for now. - Send a URL that points to the website hosting the Mini App with the protocol
https
, for examplehttps://our-deployed-app.vercel.app/
. You need this URL later on to deploy your game. - Finally, choose a short name for the web app, which is used in direct URLs that start the app. We used
checkin
, so our URL looks like this: t.me/dailycheckinbot/checkin.
Was this helpful?
Happy React is loading...