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 »

سایر خبرها

قرعه‌کشی ستاره‌ای

در به‌روزرسانی امروز، گروه‌ها و کانال‌ها می‌توانند از ستاره‌های تلگرام به عنوان جایزه در قرعه‌کشی‌ها استفاده کنند. همچنین، از این پس می‌توانید هر مقاله‌ای که در مرورگر تلگرام باز می‌کنید…
6 سپتامبر، 2024

سوپر کانال‌ها، واکنش‌های ستاره‌ای و اشتراک‌ها

امروز یازدهمین سالگرد تلگرام است. با واکنش‌های ستاره‌ای و اشتراک‌های ستاره‌ای آشنا شوید که به کاربران اجازه می‌دهد از تولیدکنندگان محتوا…
14 اوت، 2024

مرورگر تلگرام، فروشگاه مینی اپ، هدیه دادن ستاره‌ها و موارد بیشتر

به‌روزرسانی امروز، یک مرورگر درون‌برنامه‌ای جدید با پشتیبانی از چندین تب که قابلیت‌های وب3 را در دسترس تقریبا یک میلیارد کاربر قرار می‌دهد،…
31 ژوئیه، 2024

نوار مینی اپ، رسانه‌های پولی، جستجوی استوری و موارد بیشتر

در به‌روزرسانی ماه ژوئن، قابلیت‌های کوچک کردن مینی‌اپ‌ها در یک نوار فشرده، امکان کسب درآمد برای تولیدکنندگان محتوا با عکس و ویدیوهای غیر…
30 ژوئن، 2024