A mini app for event registration

Views:575

In this guide, Svetlana Gizatulina explains how to create a mini app for event registration using Telegram and puzzlebot.

Below is a simple step-by-step guide that will help you set up a mini app in just a few steps.

Step 1 — Connect your bot to puzzlebot

You can find out how in the Knowledge Base: https://help.puzzlebot.top/article?r=3&a=18

Step 2 — Set up the bot

Setup overview (part 1)
1. In the Constructor section, delete the preset commands and apply the changes.
2. Create a new Mini app command and give it a title.
3. Save the changes and upload them to the bot.
4. In the new command, copy the technical link for the miniApp.
5. In @BotFather, choose the /mybots command.
6. Go to your bot and follow the path: Bot Settings → Configure Mini App → Enable Mini App.
7. Paste the technical link.

Step 3 — Set up the miniApp interface

Setup overview (part 2)
1. Go back to the Constructor and open the additional Mini app command.
2. Add an Image block and upload a picture you prepared in advance.
3. Add a Description block for explanatory text.
4. Add an Input form block. Create fields for name, phone and email, adding masks for the data (phone and email).
5. Set up the button that submits the form and save the changes.
6. Copy the direct link that launches the miniApp.

Test the bot from any account. The setup is complete.

Want to ask an expert a question? Leave it in the comments under the latest post in our channel — the most interesting ones will get a detailed breakdown.

Was this page helpful?