<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">Group Video Calls</h4>
<divclass="dev_blog_card_lead">Today's update lets you turn on your camera or share your screen during Voice Chats in groups – on all devices, including tablets and desktops. This brings voice chats to a whole new…</div>
<divclass="dev_blog_card_lead">In addition to Group Video Calls, this update adds animated backgrounds and message sending animations, as well as a new menu button for bots, new ways to import stickers, reminders…</div>
</div>
<divclass="dev_blog_card_date">Jun 25, 2021</div>
</div></a>
</div>
</div>
</div>
</div>
</div>
<divclass="footer_wrap">
<divclass="footer_columns_wrap footer_desktop">
<divclass="footer_column footer_column_telegram">
<h5>Telegram</h5>
<divclass="footer_telegram_description"></div>
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.