- Create a bot in @BotFather https://t.me/BotFather using
/newbot
command - Enter a bot name. Example: Water Balance
- Enter a bot username. Example: WaterBalanceBot.
- You get a link to your bot like t.me/WaterBalanceBot, use it to open bot later. You can also use bot handle @WaterBalanceBot to find it via search box
Add some prefix to a bot handle as far WaterBalance is already in use
- Create a mini app in @BotFather https://t.me/BotFather using
/newapp
command - Select your bot (WaterBalanceBot) to connect mini app with it
- Enter app title. Example: Water Balance
- Enter a short description. Example: Keep your water balance
- Send a cover picture of 640x360 size. You can download a provided template. Cover can be changed later
- Upload gif version of a cover or run
/empty
command to skip it - Enter
https://google.com
as your Web App URL just for now - Enter app short name (slug). Example:
app
. Telegram app will be composed from bot username and app slug, example: https://t.me/WaterBalanceBot/app - You can click the link to see you app
- Open your bot using it's link or handle. You see not buttons there to open mini app. Let's set it up
- Setup your bot main button in @BotFather https://t.me/BotFather using
/mybots
- Select your bot -> Bot Settings -> Menu Button -> Configure menu button
- Enter
https://google.com
, then enter button caption. Example: Open app - Click Back to Bot -> Bot Settings -> Configure Mini App -> Enable Mini App
- Enter
https://google.com
- Now you can see Open app button in bot near message input box and in the bot profile as well
Mini app cover