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.

Metadata

Release files for pyrotgfork 2.2.24.1

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.1
File Size Uploaded
pyrotgfork-2.2.24.1.tar.gz 553.6 kB Details

Built distribution (wheel)

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

Total release size: 6.5 MB

Release files / pyrotgfork-2.2.24.1.tar.gz

Download URL pyrotgfork-2.2.24.1.tar.gz
Size 553.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0cc8fd0b1ec7c3e7ced87ae630c1feada5d5ec6c355a76758ba007e6152edf7e
BLAKE2b-256 checksum
How to use checksums
27d2907957c961585b215f4d097357a5bda2823af35aa69c7e654c48715002cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 4, 2026.

Transparency log

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

Download URL pyrotgfork-2.2.24.1-py3-none-any.whl
Size 5.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f8c5dbaf4447080e626c4deb5bbff37bac9b9de3d7ecf5c2f8c373c2232b2794
BLAKE2b-256 checksum
How to use checksums
4341d4f47264c8c3266da7af95533a3c1faea3c7a7628a3c5acb0fdaaa8e1bb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.2.24.1 This release

2 release files

2.2.24

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