API Reference
Every public member of TelegramClient and its namespaces (package:ptgc/ptgc.dart), grouped by feature area. Signatures and descriptions are pulled directly from the library’s source documentation, package version 1.0.0 — 40+ typed methods across six namespaces, plus the supporting types each one returns.
| Category | Members |
|---|---|
| Core & Session | 11 |
| Authentication | 4 |
| Chats & Dialogs | 11 |
| Member Management | 9 |
| Permissions & Rights | 2 types |
| Contacts | 7 |
| Messaging | 3 |
| Events & Updates | 1 stream, 2 event types |
| Peer Cache | 12 |
| Session Storage | 2 implementations |
| Raw Invoke | escape hatch |
| Exceptions | 6 types |
Nothing wrapped yet? Every namespace method is built on TelegramClient.invoke/TelegramClient.raw — see Raw Invoke for calling any MTProto method directly, with the same error handling and data-center migration every typed method gets.