Skip to content

miniproto.types

Small immutable public value types produced by high-level client helpers.

  • PeerKind — Public attribute miniproto.types.PeerKind.
  • Peer — Telegram peer reference suitable for high-level client operations.
  • User — Normalized Telegram user returned by peer and authorization helpers.
  • Media — Normalized Telegram media descriptor used for upload and download helpers.
  • Message — Normalized Telegram message returned by high-level messaging helpers.
  • Update — Base normalized update with a UTC creation timestamp and optional raw payload.
  • NewMessage — Update emitted for a newly received message.