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 Agents and Models on One Platform
Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of td!