Tutorials¶
Build your first bot one step at a time — menus with Answer and Keyboard fields first, then Logic when you need brains.
You don't need much code at first. TeleBotHost lets you build menus using editor fields alone. Add Logic when you need dynamic behavior.
What are these tutorials?¶
Hands-on lessons for building your first bot. Work through them in order — each step builds on the last.
| You get | You skip |
|---|---|
| Step-by-step bot building | Reading reference docs cold |
| No-code menu tutorials | Jumping straight to Logic |
| Concept guides when you're ready | Guessing how commands work |
New to TBL?
Brand new? Start with Getting Started, then Your First Bot. Quick intro: Learning TBL.
Before you start¶
- Getting Started — create and launch a bot
- Skim Command Fields — know what each editor field does
Hands-on series¶
Work through these in order:
| # | Lesson | What you'll build |
|---|---|---|
| 1 | Your First Bot | /start welcome message |
| 2 | Adding a Keyboard | Reply keyboard menu |
| 3 | Using Aliases | Multiple triggers per command |
| 4 | Handling User Input | Ask a question, wait for reply |
| 5 | Handling Callbacks | Inline buttons that edit messages |
| 6 | Wildcard Command | Catch unknown messages |
Concept guides (read anytime)¶
These explain how commands work under the hood — dip in when you're curious, not before your first bot:
| # | Topic | Page |
|---|---|---|
| — | Overview | Command Flow |
| 1 | Command fields | Command Fields |
| 2 | Matching priority | Matching & Priority |
| 3 | Execution pipeline | Execution Flow |
| 4 | Special commands | Special Commands |
| 5 | Dynamic handlers | Dynamic Handlers |
| 6 | Markdown formatting | Markdown & Formatting |
| 7 | Public web pages | Public Web Commands |
| 8 | Inline callbacks | Handling Callbacks |
Quick paths¶
| I want to… | Go to |
|---|---|
| Format bold/italic answers | Markdown & Formatting |
| Host a landing page | Public Web Commands |
| Build a JSON API | Webapps |
| Secure external trigger | Webhooks |
After tutorials¶
- Global Variables — everything available in commands
- Bot and Api — instance reference
- Guides — when to use which tool