TDLib – Build Your Own Telegram

Telegram offers developers more than just the Bot API. Since day one, we've also had a free and open Telegram API that allows anyone to create their own messaging apps operating in the Telegram cloud. These apps openly compete with the official ones and some of them have now reached more than 10 million downloads on Google Play.

Users of these alternative clients can communicate with anyone on Telegram, but the apps often offer experimental, highly specialized or locally flavored features. Today we are introducing a new tool for third-party developers that will make it even easier to build fast, secure and feature-rich Telegram apps on our platform.

Introducing TDLib

Meet TDLib – the Telegram Database Library. TDLib takes care of all network implementation details, encryption and local data storage, so that developers can dedicate more time to design, responsive interfaces and beautiful animations.

Universally useful

TDLib supports all Telegram features and makes developing Telegram apps a breeze on any platform. It can be used on Android, iOS, Windows, macOS, Linux and virtually any other system. The library is compatible with any programming language that can execute C functions; it also has native bindings to Java and C#.

Open and well-documented

All TDLib API methods and public interfaces are fully documented. The code is, of course, completely open and available on GitHub.

Secure and reliable

TDLib will remain stable on slow and unreliable Internet connections and guarantees that all updates will be delivered in the correct order. All local data is encrypted using a user-provided encryption key.

Optimized for performance

The library is fully asynchronous and optimized for high performance. We use TDLib in the Telegram Bot API, where each TDLib instance handles more than 18,000 active bots simultaneously.

Battle-tested

Our new Android X client is an example of what can be done with TDLib. Using TDLib, it took the developer of the app approximately one year to reproduce all the major features of Telegram for Android – and add plenty of his own.


Let's see what else TDLib will help bring to the Telegram ecosystem this year.

January 31, 2018,
The Telegram Team


P.S. Today, we're also introducing Telegram X for Android, a new official app.
Check out the announcement here »

Іншыя навіны

Партнёрскія праграмы, пошук стыкераў з дапамогай штучнага інтэлекту, калажы і шмат чаго яшчэ

Сёння маем захапляльныя навіны для стваральнікаў кантэнту і распрацоўшчыкаў міні-праграм на…
4 Сне, 2024

Міні-праграмы 2.0: поўнаэкранны рэжым, іконкі на галоўным экране, месцазнаходжанне і яшчэ 10 функцый

Сёння мы запускаем найбуйнейшае абнаўленне ў гісторыі міні-праграм. Яны атрымліваюць поўнаэкранны…
17 Ліс, 2024

Палепшаныя відэа і шмат чаго яшчэ

Сённяшняе абнаўленне дадае хутчэйшую загрузку, лепшую якасць і новыя налады хуткасці для відэа, меткі апошняга рэдагавання, далучэнне медыя да адпраўленых паведамленняў, павялічаныя…
31 Кас, 2024

Падарункі, платформа верыфікацыі і шмат чаго яшчэ

Карыстальнікі цяпер могуць адпраўляць падарункі сваім сябрам. Атрымальнікі падарункаў могуць паказваць іх на сваіх старонках профілю або…
5 Кас, 2024