<metaproperty="og:description"content="Meet TDLib, a powerful library for third-party developers that makes it easy to build fast, secure and feature-rich Telegram apps.">
<p>Telegram offers developers more than just the <ahref="https://core.telegram.org/bots">Bot API</a>. Since day one, we've also had a <strong>free</strong> and <strong>open</strong><ahref="https://core.telegram.org/api"><strong>Telegram API</strong></a> that allows anyone to create <strong>their own messaging apps</strong> operating in the Telegram cloud. These apps openly compete with the official ones and some of them have now reached more than <strong>10 million</strong> downloads on Google Play.</p>
<p>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 <strong>a new tool</strong> for third-party developers that will make it even easier to build <strong>fast</strong>, <strong>secure</strong> and <strong>feature-rich</strong> Telegram apps on our platform.</p>
<p>Meet TDLib – the <ahref="https://core.telegram.org/tdlib"><strong>Telegram Database Library</strong></a>. TDLib takes care of all <strong>network implementation</strong> details, <strong>encryption</strong> and <strong>local data storage</strong>, so that developers can dedicate more time to design, responsive interfaces and beautiful animations.</p>
<p>TDLib supports all Telegram features and makes developing Telegram apps a breeze on <strong>any platform</strong>. It can be used on Android, iOS, Windows, macOS, Linux and virtually any other system. The library is compatible with <strong>any programming language</strong> that can execute C functions; it also has native bindings to Java and C#.</p>
<h5><aclass="anchor"name="open-and-well-documented"href="#open-and-well-documented"><iclass="anchor-icon"></i></a>Open and well-documented</h5>
<p>All TDLib API methods and public interfaces are <ahref="https://core.telegram.org/tdlib/docs/"><strong>fully documented</strong></a>. The code is, of course, completely open and available on <ahref="https://github.com/tdlib/td"><strong>GitHub</strong></a>.</p>
<h5><aclass="anchor"name="secure-and-reliable"href="#secure-and-reliable"><iclass="anchor-icon"></i></a>Secure and reliable</h5>
<p>TDLib will remain <strong>stable</strong> on slow and unreliable Internet connections and guarantees that all updates will be delivered in the correct order. All <strong>local data is encrypted</strong> using a user-provided encryption key.</p>
<h5><aclass="anchor"name="optimized-for-performance"href="#optimized-for-performance"><iclass="anchor-icon"></i></a>Optimized for performance</h5>
<p>The library is fully asynchronous and optimized for high performance. We use TDLib in the Telegram Bot API, where <strong>each</strong> TDLib instance handles more than <strong>18,000</strong> active bots simultaneously.</p>
<p>Our new <ahref="/blog/telegram-x"><strong>Android X</strong></a> 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 <strong>all</strong> the major features of Telegram for Android – and add plenty of his own.</p>
<div><br></div>
<p>Let's see what else TDLib will help bring to the Telegram ecosystem this year.</p>
<p>P.S. Today, we're also introducing Telegram X for Android, a new official app.<br><ahref="/blog/telegram-x">Check out the announcement here »</a></p>
</blockquote>
</div>
</div>
<divclass="tl_main_share clearfix">
<ahref="https://t.me/share/url?url=https%3A%2F%2Ftelegram.org%2Fblog%2Ftdlib&text=Introducing%20TDLib%2C%20a%20powerful%20library%20for%20third-party%20developers%20of%20Telegram%20clients."class="tl_telegram_share_btn"id="tl_telegram_share_btn"data-text="Introducing TDLib, a powerful library for third-party developers of Telegram clients."data-url="https://telegram.org/blog/tdlib"><iclass="tl_telegram_share_icon"></i><spanclass="tl_telegram_share_label"target="_blank">Forward</span></a>
<ahref="https://twitter.com/share"class="tl_twitter_share_btn"id="tl_twitter_share_btn"data-text="Introducing TDLib, a powerful library for third-party developers of Telegram clients."data-url="https://telegram.org/blog/tdlib"data-via="Telegram">Tweet <spanclass="tl_twitter_share_cnt"></span></a>
<h4class="dev_blog_card_title">Sharing Revenue with Channel Owners</h4>
<divclass="dev_blog_card_lead">Today, we're introducing one of the most generous reward systems in the history of social media. Telegram channel owners can now receive 50% of the revenue from ads displayed in their…</div>
<h4class="dev_blog_card_title">Stories for Groups and 8 More Features</h4>
<divclass="dev_blog_card_lead">Telegram brings conversation in groups to an entire new level with 9 new features that redefine many-to-many communication. Now, groups can publish stories and save them as posts on…</div>
<h4class="dev_blog_card_title">Saved Messages 2.0, One-Time Voice Messages and 8 More Features</h4>
<divclass="dev_blog_card_lead">Throughout January, we added 10 new features to Telegram – including upgraded Saved Messages, one-time voice and video messages that delete…</div>
<h4class="dev_blog_card_title">Colorful Calls, Thanos Snap Effect, and an Epic Update for Bots</h4>
<divclass="dev_blog_card_lead">Telegram's 10th update of 2023 adds improved calls with a colorful new design that use less of your phone's battery, a new vaporize effect…</div>