Alpha
A Python client core for Telegram MTProto
Send messages, stream media and receive updates from Python with a Rust-accelerated MTProto client.
CPython 3.13–3.15 · Free-threaded 3.14t and 3.15t · Linux, macOS, Windows · x86-64 and ARM64
Python API
Media transfers
Rust acceleration
MTProto
Use miniproto
Section titled “Use miniproto”
Connect a botStart an in-memory session and retrieve your bot's identity.
Sign in a userHandle Telegram's login code and optional two-step password.
Transfer filesUpload, stream or resume downloads within your byte budget.
Receive updatesConsume events in order and recover gaps after a disconnect.