👉 https://tgapis.github.io/botapidocs/
Works instantly. No login. No setup. Just search, copy, and build.
Bot API Docs is a modern, minimal, and developer‑focused documentation viewer for the Telegram Bot API, generated directly from Telegram’s official botapi.json schema.
This project exists for developers who want clarity, speed, and zero clutter while working with Telegram bots.
If you:
- Build Telegram bots frequently
- Prefer JSON & curl over long explanations
- Want all methods searchable in one place
- Don’t want heavy frameworks or ads
Then this tool is made for you.
The official Telegram Bot API documentation is powerful, but:
- It is long and text‑heavy
- JSON examples must be assembled manually
- Searching methods requires scrolling
Bot API Docs solves exactly that — nothing more, nothing less.
- 🔍 Real‑time method search (instant dropdown)
- 📚 Complete Telegram Bot API methods list
- 🧾 Pre‑filled Required JSON and Full JSON payloads
- 💻 Ready‑to‑use
curlcommands with<BOT_TOKEN>placeholder - 🌙 Dark / Light mode
- 📱 Fully responsive (mobile‑first)
- 🔄 Always up‑to‑date via GitHub Actions
Telegram’s official schema:
botapi.json
botapi.json → generate.js → docs/data.js
- Pure HTML
- Modern CSS
- Vanilla JavaScript
- No frameworks
- No libraries
- No backend
- No tracking
Whenever botapi.json changes, GitHub Actions automatically rebuilds and deploys the site.
.
├── botapi.json # Official Telegram schema
├── generate.js # Docs generator (Node.js)
├── docs/ # GitHub Pages output
│ ├── index.html
│ ├── styles.css
│ ├── app.js
│ └── data.js # Auto‑generated
└── README.md
⚠️ docs/data.jsis generated automatically — do not edit it manually.
- Node.js 18+
npm install
npm run build- ❌ No analytics
- ❌ No cookies
- ❌ No external APIs
- ❌ No Bot Tokens stored
All examples intentionally use:
<BOT_TOKEN>
You must replace it manually.
- This is an unofficial project
- Not affiliated with Telegram
- Built for personal & developer use
- Uses only public Telegram API schema
Official documentation: 👉 https://core.telegram.org/bots/api
This project was created out of real‑world frustration with repetitive official documentation scrolling endlessly and a desire for clean, fast, and practical tools.
- GitHub: @ankit-chaubey
- Organization: tgapis
- Project Repository: https://github.com/tgapis/botapidocs
If you find this project useful or have ideas to improve it, feel free to open an issue or contribute.
If this tool saves you time:
- ⭐ Star the repository
- 🍴 Fork it
- 🧠 Share it with other developers
Every star helps keep the project alive ✨
MIT License — free to use, modify, and distribute.