This might be common knowledge by now considering how easy it is to find this repository, but it’s new to me so I’ll share: apparently, the desktop app developer is actively working on rewriting their app using tdlib.

Telegram Desktop would be the first official app to use tdlib. Right now, the only telegram-related app that uses it is Telegram X, which is an experimental app. The bot API, though, has always ran on tdlib since day one.

You are viewing a single thread.
View all comments
2 points

Very interesting. I didn’t even know about tdlib. According to the description tdlib is “Cross-platform library for building Telegram clients”, which is very helpful to have.

permalink
report
reply
3 points

Yes, using tdlib is almost always preferable to using a custom MTProto implementation. tdlib is guaranteed to implement the encryption protocol the correct way and it will also handle cached data so you don’t have to. Will also save some time with the development and most importantly it abstracts some of the weirdness of the API so you won’t have to deal with them. Also it’s likely that a custom implementation won’t be as performant as tdlib.

Unluckily it reached maturity relatively recently, so no official app has been able to move to tdlib yet (except for Unigram, which is an almost-official app built for Windows, that was initially using its own implementation but moved to tdlib some years ago)

permalink
report
parent
reply

Telegram

!telegram@lemmy.ml

Create post

A community about Telegram, the popular messaging app.

Rules:

  1. be kind and avoid aggressive or offensive language toward other people
  2. do not submit links that are aimed at advertising your channels, groups or bots
  3. English only

Community stats

  • 26

    Monthly active users

  • 103

    Posts

  • 103

    Comments

Community moderators