Telegram MTProto API client in Go for users and bots.
Features
- Full MTProto 2.0 implementation in Golang, directly access any MTProto method with telegram.Client.API()
- Highly optimized, low memory (150kb per idle client) and CPU overhead, can handle thousands concurrent clients
- Code for Telegram types generated by ./cmd/gotdgen (based on gotd/tl parser) with embedded official documentation
- Pluggable session storage
- No runtime reflection overhead
- Conforms to Security guidelines for Telegram client software developers
- Various helpers that lighten the complexity of the Telegram API
- Connection pooling
- Automatic datacenter migration and redirects handling
- Graceful request cancellation via context
- WebSocket transport support (works in WASM)
Categories
Telegram BotsLicense
MIT LicenseFollow td
Other Useful Business Software
Build on Google Cloud with $300 in Free Credit
Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query exabytes in BigQuery, or build AI apps with Vertex AI and Gemini. Once your credits are used, keep building with 20+ products with free monthly usage, including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. Sign up to start building right away.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of td!