Repository URL to install this package:
|
Version:
2.1.28 ▾
|
| .github |
| Pyrogram.egg-info |
| compiler |
| pyrogram |
| tests |
| .gitignore |
| COPYING |
| COPYING.lesser |
| MANIFEST.in |
| Makefile |
| NOTICE |
| PKG-INFO |
| README.md |
| dev-requirements.txt |
| requirements.txt |
| setup.cfg |
| setup.py |
| tox.ini |
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
from pyrogram import Client, filters app = Client("my_account") @app.on_message(filters.private) async def hello(client, message): await message.reply("Hello from Pyrogram!") app.run()
Pyrogram is a modern, elegant and asynchronous MTProto API framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot identity (bot API alternative) using Python.
If you'd like to support Pyrogram, you can consider:
pip3 install pyrogram