Skip to main content

Pyrogram
Telegram MTProto API Framework for Python
Documentation • Releases • News

Pyrogram

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.

Key Features

  • Ready: Install Pyrogram with pip and start building your applications right away.
  • Easy: Makes the Telegram API simple and intuitive, while still allowing advanced usages.
  • Elegant: Low-level details are abstracted and re-presented in a more convenient way.
  • Fast: Boosted up by TgCrypto, a high-performance cryptography library written in C.
  • Type-hinted: Types and methods are all type-hinted, enabling excellent editor support.
  • Async: Fully asynchronous (also usable synchronously if wanted, for convenience).
  • Powerful: Full access to Telegram's API to execute any official client action and more.

Installing

pip3 install pyrotgfork

Resources

  • Check out the docs to learn more about Pyrogram, get started right away and discover more in-depth material for building your client applications.
  • Join the official channel at PyroTGFork and stay tuned for news, updates and announcements.

Release files for pyrotgfork 2.2.24

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrotgfork 2.2.24
File Size Uploaded
pyrotgfork-2.2.24.tar.gz 544.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrotgfork 2.2.24
File Interpreter ABI Platform
pyrotgfork-2.2.24-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 MB

Release files / pyrotgfork-2.2.24.tar.gz

Download URL pyrotgfork-2.2.24.tar.gz
Size 544.4 kB
Tags Source
SHA-256 checksum
How to use checksums
890516ec8a05594c96cac1fd74d3f8ca55c4dc383937f9e5527968412f8f6fde
BLAKE2b-256 checksum
How to use checksums
e46cb1c12b2f5ad1b826d6f905b6dad20419b8a51209d4e2ba48d1bb77d6db24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 16, 2026.

Transparency log

Release files / pyrotgfork-2.2.24-py3-none-any.whl

Download URL pyrotgfork-2.2.24-py3-none-any.whl
Size 5.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
87a979003c38fdc88251d599ad75d28603b6fc16fb7ba726e6dc9f780c278507
BLAKE2b-256 checksum
How to use checksums
250b32a30566fd4c0188d15dda209cc7d0002e6f891e1ace0528f0c4cfbf9d7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.2.24 This release

2 release files

2.2.18

2 release files

2.2.17

2 release files

2.2.16

2 release files

2.2.15

2 release files

2.2.14

2 release files

2.2.13

2 release files

2.2.10

2 release files

2.2.9

2 release files

2.2.8

2 release files

2.2.7

2 release files

2.2.6

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.1.35

2 release files

2.1.34

2 release files

2.1.31

2 release files

2.1.27

2 release files

2.1.26

2 release files

2.1.25

2 release files

2.1.24

2 release files

2.1.23

2 release files

2.1.22

2 release files

2.1.21

2 release files

2.1.20

2 release files

2.1.19

2 release files

2.1.18

2 release files

2.1.17

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page