Telegram Mini App

Creating a New Bot

  1. 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.

  1. 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.

Set the bot's name
Set a username for your bot
  1. 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.

Token (API key) for Telegram HTTP API access
Funnel Settings → Integrations / Applications → Telegram Mini App
Copy and paste the Token (API key) from Telegram into the integration settings field.

Creating a New Application

  1. Create a new application using @BotFather. Enter the command /newapp.

  2. Choose which bot will use the Web App. If you’ve created multiple bots, select the one you want.

Select your bot
  1. @BotFather will prompt you to provide a name and short description for the application.

Provide a name and short description
  1. Upload a 640x360 pixel image for Web App preview. You can skip this by typing /empty or return to it later using /editapp.

Upload a 640x360 pixel image
  1. Copy the URL of your funnel’s Web App and send it to the bot.

Copy the URL of your funnel’s Web App
Send the URL to the bot.
  1. 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.

  2. @BotFather will then provide a link to your Web App. Copy it and paste it into the integration settings.

Copy the link to your Web App.
Paste the link in the integration settings.

Check your funnel link to ensure it opens correctly in Telegram, as provided by @BotFather.

Funnel in Telegram

Once the bot and Web App are connected, the Telegram Mini App integration card will display the status Connected.

Status: Connected

Setting Up Telegram Mini App

  1. Open your new bot to set up your Web App. Use the link provided by @BotFather.

Open your new bot

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

  1. In your bot, press START and enter or select the command /createbutton. Follow the bot’s instructions.

  1. Enter a name for the button in Telegram, e.g., “Get Started.” This button will direct users to your funnel in Telegram.

  1. Enter the message text to display next to the button, e.g., “Free marketing and psychology consultations.”

  2. 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.

Button to the funnel to attract audience

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.

Message with funnel button in a group
Remove Service

Last updated