A simple Telegram MTProto client that keeps up with latest layers. Check out documentation prototype. You can see the a lot of examples here.
- Clone the repository
- Run
Telega.Playground
(NET 6 is needed) - Sign in to your account
- Explore
Snippets
The reasons of Telega existence are TLSharp issues. Here are pros of Telega:
- Layer 136 generated directly from Telegram Desktop .tl scheme
- Netstandard 2.0 and 2.1 targets
- Lack of reflection at all (even in deserialization)
- RPC backround receive (vs pull after sending in TLSharp)
- Automatic RPC call queuing and delaying to prevent flood errors
- Atomic-like session updates (with a backup file usage)
- Simple exceptions instead of meaningless InvalidOperationException
- Download and Upload with proper DC migration handling
- MTProto 2.0
Telega is not actively developed. I support it in my free time. Feel free to open issues :)
Telega uses SemVer. Before 1.0.0 version minor increments can break compatibility.