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 »

다른 뉴스

스타 경품 및 기타

오늘 업데이트로 그룹과 채널은 경품 행사에서 Telegram Stars를 상품으로 사용할 수 있습니다. 또한, Telegram 브라우저에서 여는 모든 기사를 이제 Instant View로 변환할 수 있어 읽기 편리합니다.
9월 6, 2024

슈퍼 채널, 스타 반응 및 구독

오늘은 텔레그램의 11주년입니다. 사용자가 콘텐츠 제작자를 지원할 수 있도록 하는 스타 반응 및 스타 구독, 봇 및 비즈니스 계정을 위한 유료 미디어, 그리고 관리자가 다른 채널이나 개인 프로필로 게시할 수 있는 새로운 텔레그램 채널 모드를 만나보세요.
8월 14, 2024

텔레그램 브라우저, 미니 앱 스토어, 선물 별 등

오늘 업데이트에서는 여러 탭을 지원하는 새로운 인앱 브라우저와 거의 10억 명의 사용자에게 Web3를 제공하는 기능, 인기 미니 앱이 포함된 미니 앱 스토어, 친구에게 스타 선물을 할 수 있는 기능, 스토리를 위한 날씨 위젯 등 다양한 기능이 추가되었습니다.
7월 31, 2024

미니 앱 바, 미디어 광고, 스토리 검색 등 더 보기

6월 업데이트에서는 미니 앱을 최소화하여 컴팩트 바로 만드는 방법을 추가하고, 콘텐츠 제작자가 유료 사진 및 동영상으로 채널을 수익화할 수 있도록 도우며, 해시태그 또는 위치로 검색하고 새로운 링크 위젯을 도입하여 스토리를 개선할 수 있게 됩니다.
6월 30, 2024