Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Botza

Build Telegram bots, not boilerplate.

A modern, asynchronous Telegram Bot framework for Python.

Instead of working directly with the Telegram Bot API, Botza provides a clean, intuitive, and developer-friendly interface inspired by modern Python frameworks.

Whether you're building a simple bot or a production-ready application, Botza helps you write less code while keeping your project organized and scalable.


✨ Features

  • Clean and intuitive API
  • Powerful command and message routing
  • Context-based handlers
  • Middleware support
  • Flexible filters
  • Webhook and Long Polling support
  • Async-first architecture
  • Fully typed
  • Lightweight with minimal dependencies

Philosophy

Botza is designed around one simple idea:

Developers should spend time building bots—not dealing with HTTP requests, JSON parsing, or repetitive boilerplate.

Every API is carefully designed to feel natural, readable, and Pythonic.


Example

from botza import Bot

bot = Bot("TOKEN")


@bot.command("start")
async def start(ctx):
    await ctx.reply("Hello, World!")


bot.run()

Why Botza?

Instead of this:

bot.send_message(chat_id=update["message"]["chat"]["id"], text="Hello")

You simply write:

await ctx.reply("Hello")

Simple.

Readable.

Powerful.


Roadmap

  • Telegram Bot API wrapper
  • Router
  • Filters
  • Middleware
  • Context
  • Webhook server
  • Long Polling
  • Keyboard Builder
  • FSM (Finite State Machine)
  • Dependency Injection
  • Plugin System

License

MIT License

About

Botza is a modern, lightweight framework for building Telegram bots in Python. It provides a clean API, powerful routing, middleware support, filters, and first-class webhook and polling support—so you can focus on your bot, not the Telegram Bot API.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages