Skip to content

ilyalatt/Telega

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e24493a · Jul 28, 2023
Mar 21, 2021
Dec 6, 2021
Dec 5, 2021
Jul 28, 2023
Jul 28, 2023
Mar 19, 2021
Dec 6, 2021
Jan 12, 2019
Jan 5, 2022
Mar 20, 2021
Dec 7, 2021

Repository files navigation

Telega

NuGet version

A simple Telegram MTProto client that keeps up with latest layers. Check out documentation prototype. You can see the a lot of examples here.

Quick start

  • Clone the repository
  • Run Telega.Playground (NET 6 is needed)
  • Sign in to your account
  • Explore Snippets

TLSharp

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

Status

Telega is not actively developed. I support it in my free time. Feel free to open issues :)

Versioning

Telega uses SemVer. Before 1.0.0 version minor increments can break compatibility.