Skip to content

API Reference

The committed reference covers the maintained Python API, native Rust crate and pinned Telegram layer. Use the language and kind filters to search those three sets of pages.

  • Python API documents maintained modules, classes, methods, functions, attributes and type aliases from static Griffe analysis. Explicitly exported aliases point back to their canonical pages.
  • Rust API documents the maintained native crate from nightly rustdoc JSON and cargo-docs-md, including PyO3 binding names where applicable.
  • Telegram raw API documents generated functions, types, RPC errors, result families and constructor relationships from the pinned layer inputs without importing generated Python modules.

Every generated page identifies its language, reference kind, qualified name and source provenance in frontmatter and searchable metadata. Python and Rust parameter descriptions come from maintained docstrings or doc comments. Telegram parameter and result descriptions come from the pinned schema and project-owned relationship manifest; they do not invent behavioral guarantees absent from Telegram’s definitions.

The checked-in reference manifest records page counts, routes, source paths and content hashes. Run miniproto-docs --check to compare generated pages with their current sources and pinned schema inputs.