Telegram Mini App
Last updated
Last updated
First, create a new bot using @BotFather. Go to this link: https://t.me/BotFather and click START. If you’ve already interacted with the bot, simply type /start. The bot will show all available commands. Next, enter the command /newbot.
The bot will ask you to set a name and username for your bot. If the username is already taken, you’ll need to choose another one. If it’s available, the bot will be activated and show the Token (API key) for accessing the Telegram HTTP API.
Important: Do not share your Token with others, as anyone can use it to manage your bot!
Copy the Token (API key) shown by the Telegram bot and paste it into the first field in the integration settings. Go to Funnel Settings → Integrations / Applications → Telegram Mini App.
Create a new application using @BotFather. Enter the command /newapp.
Choose which bot will use the Web App. If you’ve created multiple bots, select the one you want.
@BotFather will prompt you to provide a name and short description for the application.
Upload a 640x360 pixel image for Web App preview. You can skip this by typing /empty or return to it later using /editapp.
Copy the URL of your funnel’s Web App and send it to the bot.
Choose a short name for your Web App (3–30 characters). This will serve as the unique identifier for your Web App, e.g., t.me/Funlee2_bot/myapp.
@BotFather will then provide a link to your Web App. Copy it and paste it into the integration settings.
Important: Save changes, go to the workspace, and publish your funnel.
Check your funnel link to ensure it opens correctly in Telegram, as provided by @BotFather.
Once the bot and Web App are connected, the Telegram Mini App integration card will display the status Connected.
Open your new bot to set up your Web App. Use the link provided by @BotFather.
To modify your Web Apps, use the command /myapps with @BotFather. It will show all created Web Apps in Telegram and available options for each. Options include:
Edit Title – Edit title
Edit Description – Edit description
Edit Photo – Edit photo
Edit Web App URL – Edit URL
Delete Web App – Delete the Web App
In your bot, press START and enter or select the command /createbutton. Follow the bot’s instructions.
Enter a name for the button in Telegram, e.g., “Get Started.” This button will direct users to your funnel in Telegram.
Enter the message text to display next to the button, e.g., “Free marketing and psychology consultations.”
You will then receive a message in Telegram: “Forward the following message to yourself in a channel or chat.” Ensure that “Show sender name” is enabled; otherwise, the button won’t be forwarded.
Forward the message with the button to yourself in a group or chat so your audience can easily access your funnel in Telegram. You can also pin the button in the group or chat.
Important: After making any changes to the settings, publish the funnel. Go to the workspace and publish your funnel.
If you want to remove the integration so that the funnel no longer opens in Telegram, click Remove Service in the integration settings.