mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-01 20:51:03 +01:00
229 lines
16 KiB
HTML
229 lines
16 KiB
HTML
<!DOCTYPE html>
|
||
<html class="">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title>TDLib – Build Your Own Telegram</title>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta property="og:title" content="TDLib – Build Your Own Telegram">
|
||
<meta property="og:image" content="https://telegram.org/file/811140277/1526/aNtWR8fh9HI.173440/c5fa1e7fb281038e0c">
|
||
<meta property="og:site_name" content="Telegram">
|
||
<meta property="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.">
|
||
|
||
<meta property="article:published_time" content="2018-01-31T22:58:31+00:00"><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:image" content="https://telegram.org/file/811140277/1526/aNtWR8fh9HI.173440/c5fa1e7fb281038e0c" />
|
||
<meta property="fb:app_id" content="254098051407226">
|
||
<meta property="vk:app_id" content="3782569">
|
||
<meta name="apple-itunes-app" content="app-id=686449807">
|
||
<meta name="telegram:channel" content="@telegram">
|
||
<link rel="canonical" href="https://telegram.org/blog/tdlib" />
|
||
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
|
||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
|
||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
|
||
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
|
||
<link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" />
|
||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||
|
||
<link href="/css/telegram.css?241" rel="stylesheet" media="screen">
|
||
</head>
|
||
<body class="preload">
|
||
<div id="fb-root"></div>
|
||
<div class="tl_page_wrap">
|
||
<div class="tl_page_head navbar navbar-static-top navbar navbar-tg">
|
||
<div class="navbar-inner">
|
||
<div class="container clearfix">
|
||
<ul class="nav navbar-nav navbar-right"><li class="dropdown top_lang_select"><a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#"><i class="dev_top_lang_icon"></i>EN <b class="minicaret"></b></a>
|
||
<ul class="dropdown-menu"><li class="chosen "><a href="?setln=en">English</a></li><li class="long "><a href="?setln=id">Bahasa Indonesia</a></li><li class="long "><a href="?setln=ms">Bahasa Melayu</a></li><li class=""><a href="?setln=de">Deutsch</a></li><li class=""><a href="?setln=es">Español</a></li><li class=""><a href="?setln=fr">Français</a></li><li class=""><a href="?setln=it">Italiano</a></li><li class=""><a href="?setln=nl">Nederlands</a></li><li class=""><a href="?setln=uz">O‘zbek</a></li><li class=""><a href="?setln=pl">Polski</a></li><li class="long "><a href="?setln=pt-br">Português (Brasil)</a></li><li class=""><a href="?setln=tr">Türkçe</a></li><li class=""><a href="?setln=be">Беларуская</a></li><li class=""><a href="?setln=ru">Русский</a></li><li class=""><a href="?setln=uk">Українська</a></li><li class=""><a href="?setln=ar">العربية</a></li><li class=""><a href="?setln=fa">فارسی</a></li><li class=""><a href="?setln=ko">한국어</a></li></ul></li><li class="navbar-twitter hidden-xs"><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)"><i class="icon icon-twitter"></i> Twitter</a></li></ul>
|
||
<ul class="nav navbar-nav">
|
||
<li class=""><a href="/">Home</a></li>
|
||
<li class=""><a href="/faq">FAQ</a></li>
|
||
<li class=""><a href="/apps">Apps</a></li>
|
||
<li class="hidden-xs "><a href="//core.telegram.org/api">API</a></li>
|
||
<li class="hidden-xs "><a href="//core.telegram.org/mtproto">Protocol</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="container clearfix tl_page_container ">
|
||
<div class="tl_page">
|
||
<div class="tl_contest_page_wrap">
|
||
<div class="tl_blog_side_blog"><div class="side_blog_wrap">
|
||
<div class="side_blog">
|
||
<a href="/blog" class="side_blog_header">Recent News</a>
|
||
<div class="side_blog_entries">
|
||
<a href="/blog/dynamic-video-quality-and-more" class="side_blog_entry">
|
||
<div class="side_blog_date">Oct 31</div>
|
||
<div class="side_blog_title">Improved Videos and Much More</div>
|
||
</a><a href="/blog/gifts-verification-platform" class="side_blog_entry">
|
||
<div class="side_blog_date">Oct 5</div>
|
||
<div class="side_blog_title">Gifts, Verification Platform and More</div>
|
||
</a><a href="/blog/star-giveaways-iv-in-browser" class="side_blog_entry">
|
||
<div class="side_blog_date">Sep 6</div>
|
||
<div class="side_blog_title">Star Giveaways and More</div>
|
||
</a><a href="/blog/superchannels-star-reactions-subscriptions" class="side_blog_entry">
|
||
<div class="side_blog_date">Aug 14</div>
|
||
<div class="side_blog_title">Super Channels, Star Reactions and Subscriptions</div>
|
||
</a><a href="/blog/w3-browser-mini-app-store" class="side_blog_entry">
|
||
<div class="side_blog_date">Jul 31</div>
|
||
<div class="side_blog_title">Telegram Browser, Mini App Store, Gifting Stars and More</div>
|
||
</a><a href="/blog/mini-app-bar-paid-media-and-more" class="side_blog_entry">
|
||
<div class="side_blog_date">Jun 30</div>
|
||
<div class="side_blog_title">Mini App Bar, Paid Media, Story Search & More</div>
|
||
</a><a href="/blog/telegram-stars" class="side_blog_entry">
|
||
<div class="side_blog_date">Jun 6</div>
|
||
<div class="side_blog_title">Telegram Stars: Pay for Digital Goods and More</div>
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div></div>
|
||
<div id="dev_page_content_wrap" class=" ">
|
||
<div class="dev_page_bread_crumbs"></div>
|
||
<h1 id="dev_page_title">TDLib – Build Your Own Telegram</h1>
|
||
|
||
<div id="dev_page_content"><div class="blog_side_image_wrap">
|
||
<img src="/file/811140459/1bdb/rl5NwUNbBzM.26909.gif/0ecbc461e020d4bc3a" class="blog_side_image"/>
|
||
</div>
|
||
|
||
<div class="blog_wide_image">
|
||
<a href="/file/811140123/1b45/-OYMXpEI4d0.172643/cf7ae5c2efbaf53693" target="_blank"><img src="/file/811140207/1697/Fr2L4F_Rvpg.61872/10f070def8c6d4d307" srcset="/file/811140123/1b45/-OYMXpEI4d0.172643/cf7ae5c2efbaf53693, 2x" title="Introducing TDLib"/></a>
|
||
</div>
|
||
|
||
<p>Telegram offers developers more than just the <a href="https://core.telegram.org/bots">Bot API</a>. Since day one, we've also had a <strong>free</strong> and <strong>open</strong> <a href="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>
|
||
<h3><a class="anchor" name="introducing-tdlib" href="#introducing-tdlib"><i class="anchor-icon"></i></a>Introducing TDLib</h3>
|
||
<p>Meet TDLib – the <a href="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>
|
||
<h5><a class="anchor" name="universally-useful" href="#universally-useful"><i class="anchor-icon"></i></a>Universally useful</h5>
|
||
<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><a class="anchor" name="open-and-well-documented" href="#open-and-well-documented"><i class="anchor-icon"></i></a>Open and well-documented</h5>
|
||
<p>All TDLib API methods and public interfaces are <a href="https://core.telegram.org/tdlib/docs/"><strong>fully documented</strong></a>. The code is, of course, completely open and available on <a href="https://github.com/tdlib/td"><strong>GitHub</strong></a>.</p>
|
||
<h5><a class="anchor" name="secure-and-reliable" href="#secure-and-reliable"><i class="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><a class="anchor" name="optimized-for-performance" href="#optimized-for-performance"><i class="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>
|
||
<h5><a class="anchor" name="battle-tested" href="#battle-tested"><i class="anchor-icon"></i></a>Battle-tested</h5>
|
||
<p>Our new <a href="/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><em>January 31, 2018,<br>The Telegram Team</em></p>
|
||
<div><br></div>
|
||
|
||
<blockquote>
|
||
<p>P.S. Today, we're also introducing Telegram X for Android, a new official app.<br><a href="/blog/telegram-x">Check out the announcement here »</a></p>
|
||
</blockquote>
|
||
</div>
|
||
|
||
</div>
|
||
<div class="tl_main_share clearfix">
|
||
<a href="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"><i class="tl_telegram_share_icon"></i><span class="tl_telegram_share_label" target="_blank">Forward</span></a>
|
||
<a href="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 <span class="tl_twitter_share_cnt"></span></a>
|
||
</div>
|
||
|
||
</div>
|
||
<div class="tl_main_recent_news_wrap tlb_other_news_wrap tl_blog_list_page_wrap">
|
||
<h3 class="tl_main_recent_news_header">
|
||
<a href="/blog">Other News</a>
|
||
</h3>
|
||
<div class="tl_main_recent_news_cards clearfix">
|
||
<a class="dev_blog_card_link_wrap" href="/blog/dynamic-video-quality-and-more"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/400780400783/3/inBnJMRsW8I.250596/95648f6c88a6890213" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Improved Videos and Much More</h4>
|
||
<div class="dev_blog_card_lead">Today's update adds faster loading, better quality and new speed controls to videos, last edit timestamps, attaching media to sent messages, increased limits for mini apps, new monetization…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Oct 31, 2024</div>
|
||
</div></a><a class="dev_blog_card_link_wrap" href="/blog/gifts-verification-platform"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/400780400875/2/7jMIWHhNK14.271741/26556506cae1a02907" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Gifts, Verification Platform and More</h4>
|
||
<div class="dev_blog_card_lead">Users can now send Gifts to their friends: the recipients of gifts can display them on their profile pages or turn them into Stars. Additionally, Telegram launched a platform for businesses…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Oct 5, 2024</div>
|
||
</div></a><a class="dev_blog_card_link_wrap" href="/blog/star-giveaways-iv-in-browser"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/400780400331/1/tuLhKJmWKdw.276665/463e789d166b4e3890" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Star Giveaways and More</h4>
|
||
<div class="dev_blog_card_lead">With today's update, groups and channels can use Telegram Stars as prizes in Giveaways. Also, any article you open in the Telegram Browser can now be converted to Instant View, making…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Sep 6, 2024</div>
|
||
</div></a><a class="dev_blog_card_link_wrap" href="/blog/superchannels-star-reactions-subscriptions"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/400780400436/1/AFpKVW0u5fw.267441/5fd61b6d2531113c45" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Super Channels, Star Reactions and Subscriptions</h4>
|
||
<div class="dev_blog_card_lead">Today is Telegram's 11th anniversary. Meet Star Reactions and Star Subscriptions that let users support content creators, paid media for…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Aug 14, 2024</div>
|
||
</div></a>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="footer_wrap">
|
||
<div class="footer_columns_wrap footer_desktop">
|
||
<div class="footer_column footer_column_telegram">
|
||
<h5>Telegram</h5>
|
||
<div class="footer_telegram_description"></div>
|
||
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
|
||
</div>
|
||
|
||
<div class="footer_column">
|
||
<h5><a href="/faq">About</a></h5>
|
||
<ul>
|
||
<li><a href="/faq">FAQ</a></li>
|
||
<li><a href="/privacy">Privacy</a></li>
|
||
<li><a href="/press">Press</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="footer_column">
|
||
<h5><a href="/apps#mobile-apps">Mobile Apps</a></h5>
|
||
<ul>
|
||
<li><a href="/dl/ios">iPhone/iPad</a></li>
|
||
<li><a href="/android">Android</a></li>
|
||
<li><a href="/dl/web">Mobile Web</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="footer_column">
|
||
<h5><a href="/apps#desktop-apps">Desktop Apps</a></h5>
|
||
<ul>
|
||
<li><a href="//desktop.telegram.org/">PC/Mac/Linux</a></li>
|
||
<li><a href="//macos.telegram.org/">macOS</a></li>
|
||
<li><a href="/dl/web">Web-browser</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="footer_column footer_column_platform">
|
||
<h5><a href="//core.telegram.org/">Platform</a></h5>
|
||
<ul>
|
||
<li><a href="//core.telegram.org/api">API</a></li>
|
||
<li><a href="//translations.telegram.org/">Translations</a></li>
|
||
<li><a href="//instantview.telegram.org/">Instant View</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="footer_columns_wrap footer_mobile">
|
||
<div class="footer_column">
|
||
<h5><a href="/faq">About</a></h5>
|
||
</div>
|
||
<div class="footer_column">
|
||
<h5><a href="/blog">Blog</a></h5>
|
||
</div>
|
||
<div class="footer_column">
|
||
<h5><a href="/apps">Apps</a></h5>
|
||
</div>
|
||
<div class="footer_column">
|
||
<h5><a href="//core.telegram.org/">Platform</a></h5>
|
||
</div>
|
||
<div class="footer_column">
|
||
<h5><a href="/press">Press</a></h5>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script src="/js/main.js?47"></script>
|
||
|
||
<script>twitterCustomShareInit();
|
||
blogSideImageInit();
|
||
backToTopInit("Go up");
|
||
removePreloadInit();
|
||
</script>
|
||
</body>
|
||
</html>
|
||
|