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
Go From AI Idea to AI App Fast
Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of td!