Script for the /start command in a Telegram bot
Let's consider the /start scenario and attach buttons to this scenario. Where should we start?
Let's create a template for our bot in the bot -t and go to the main menu immediately after entering your token from the Telegram bot,
Go to the scenarios tab and set up our command /start , adding your text and the necessary constants (you can additionally attach media). The screenshot shows where the scenarios tab is located.
Video instructions for setting up a bot with mailing capability
Setting up the /start scenario in the Telegram bot ընդհանուր
The general setup of scenarios looks exactly like this:
You add 1 scenario block, connect it to another path using the buttons of another scenario block (element), and build the scheme until you reach the end of your idea for your team — in our case, this team is start. Then save it and go to your bot to test the command.
Setting up a single item for the start command
Configuring an individual scenario element is similar to configuring a free-form message. In this element, you can set up buttons, photos, videos, text, etc.
Video instructions for configuring a free bot
Configuring script paths and buttons in a Telegram bot
Each block can be linked to a block in your scenario in 2 ways — either by transition (for example, to a free message) or by connecting it to a block via a link (these are the arrows). In this way, you can configure a huge number of connections and make your scenario truly large. We have considered only one command, /start; to add commands in bulk, use the instructions here.
free of charge and without programming knowledge BOT-T.COM