Your first bot in 5 minutes
Video coming soon — step-by-step guide below
Create a bot, connect Telegram and build the first scenario: a greeting with buttons.
What you need
- A MyCode.Bot panel account
- A Telegram bot token from @BotFather
Steps
- Sign in to the panel and create a new bot.
- Add the messenger token (Telegram) in the bot settings.
- Open the scenario builder. The canvas already has the OnMemberFollow event: it fires on
/start. - From the components panel, Screens category, drag a Screen and connect the event output to its input.
- Add a greeting message and two buttons to the Screen, e.g. “About us” and “Contacts”.
- For each button add another Screen with the answer and connect the button output to it.
- Save and publish the scenario.
- Open the bot in Telegram, press
/startand try the buttons.
Resulting scenario
OnMemberFollow -> Screen "Welcome!"
| Button "About us" -> Screen "About us"
| Button "Contacts" -> Screen "Contacts"