Welcome to wzgram’s documentation!¶
wzgram is an elegant, modern and asynchronous Telegram MTProto API framework for Python. It is a fork of Pyrogram with support for the latest Telegram features including Gifts, Stories, Topics, Business Accounts, and more.
from pyrogram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from wzgram!")
app.run()
Introduction
Getting Started
API Reference
Topics
- Advanced Usage
- Client Settings
- Comparison with Other Pyrogram Forks
- FAQ
- What is wzgram?
- How is it different from Pyrogram?
- What Python versions are supported?
- How do I install wzgram?
- Can I use wzgram with uv?
- Do I need an API ID and hash?
- How do I start a Client?
- Can I use wzgram synchronously?
- How do I handle progress for uploads and downloads?
- What are bound methods?
- Does wzgram support parallel downloads?
- Does wzgram support Stories?
- Does wzgram support Gifts and Stars?
- Does wzgram support Business Accounts?
- Does wzgram support Rich Text (styled messages)?
- How do I enable debug logging?
- Where can I get help?
- Creating Filters
- Debugging
- Message identifiers
- More on Updates
- MTProto vs. Bot API
- Proxy Settings
- Scheduling Tasks
- Object Serialization
- Smart Plugins
- Speedups
- Storage Engines
- Synchronous Usage
- Test Servers
- Text Formatting
- Using Filters
- Voice Calls