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 »

أخبار أخرى

رسائل الترحيب، الأزرار في الرسائل والهدايا الموقعة

نقدم لكم رسائل الترحيب للترحيب بالأعضاء الجدد في المجموعات أو القنوات، والأزرار في الرسائل لجعل أي نص تفاعليًا، والمستندات المضمنة في الرسائل،…
25 أغسطس، 2026

محرر النصوص الغني، الرسائل سريعة الزوال في المجموعات، المجتمعات، ٣٥٠ مليون صورة متحركة

نقدم لكم محرر نصوص غني لتنسيق وإنشاء النصوص، ومجتمعات تيليجرام التي تربط بين العديد من المجموعات…
14 يوليو، 2026

تطبيقات الساعات الذكية، النصوص الغنية للبوتات، حراس الذكاء الاصطناعي للمجموعات، والمزيد الكثير

تحديث اليوم يجلب تيليجرام إلى ساعة آبل وساعات أندرويد الذكية، ويضيف نصًا غنيًا للغاية للبوتات،…
11 يونيو، 2026

بوتات الذكاء الاصطناعي المستضافة، المحادثات بين البوتات، أتمتة المحادثات، البحث في أكثر من ١٠٠ مليون رمز تعبيري وملصق

في تحديث اليوم؛ أضاف تطبيق تيليجرام أكثر من ١٠ميزات جديدة، بما في ذلك طرق تمكن المستخدمين…
7 مايو، 2026