miniproto.types
miniproto.types
Section titled “miniproto.types”Small immutable public value types produced by high-level client helpers.
Public objects
Section titled “Public objects”PeerKind— Public attributeminiproto.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.