ferogram.dev / ferogram-tl-types
TT
ferogram-tl-types
Auto-generated Telegram TL types: constructors, functions, enums.
[dependencies] ferogram-tl-types = "0.6.5"
What it does
- TL constructors become plain Rust structs
- Abstract TL types become enums over their constructors
- TL functions become structs implementing RemoteCall
- Optional TL fields are wrapped in Option<T> automatically
- Feature flags to scope which API layers get compiled in
- Regenerated straight from Telegram's published TL schema
Explore the workspace