Start Here
miniproto is an async-first MTProto protocol SDK for connection management, authorization, sessions, raw invocation, update state and media transfers. The planned mpgram package adds application-framework features. Start with a throwaway bot session, then move to a protected durable session before using a real account.
- Install from PyPI or prepare a source checkout.
- Run the five-minute bot quickstart against an account and chat you control.
- Choose phone or bot authorization and store durable session material safely.
- Make a first raw call, then a first high-level operation.
- Use the small runnable examples as starting points rather than copying credentials into source files.
Use a separate protected session path for each account you want to retain. See Session Security.