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 »

다른 뉴스

AI 기반 스티커 검색, 개선된 동영상 및 기타 기능

오늘 업데이트에서는 AI로 수백만 개의 스티커를 검색하고, 현재 시간에 비디오 링크를 복사하고, 비디오의 커버 사진을 설정하고, 채널에서 유사한 봇을 탐색하면서 별로 반응할 수 있습니다 -- 그리고 더 많은 기능이 추가되었습니다.
2월 12, 2025

수집 가능한 선물 착용, 선물을 블록체인으로 이동, 채널로 선물 보내기 등

오늘 업데이트에서는 수집 가능한 선물을 이모지 상태로 착용할 수 있는 기능, 선물을 블록체인으로 이동하는 기능, 채널에 선물을 보내는 기능 등 6가지 새로운 기능이 Telegram에 추가되었습니다.
1월 24, 2025

수집 가능한 선물, 메시지 검색 필터 및 기타

오늘 우리는 2025년의 첫 번째 업데이트를 출시합니다. 이 업데이트에는 다른 사용자에게 전송하거나 다시 보낼 수 있는 수집 가능한 선물, 채팅 이벤트에 반응을 보낼 수 있는 기능, 메시지 검색 필터, 앱 내 QR 코드 스캐너 등 다양한 기능이 포함되어 있습니다.
1월 1, 2025

제휴 프로그램, AI 기반 스티커 검색, 콜라주 등

오늘, 우리는 텔레그램의 콘텐츠 제작자와 미니 앱 개발자를 위한 흥미로운 소식을 전합니다. 제작자는 이제 자신의 노력을 수익화하고 별을 얻을 수 있는 간단한 방법을 가지게 되었으며, 미니 앱 개발자는 새로운 사용자를 유치할 수 있는 강력한 도구를 얻게 됩니다. 또한, 텔레그램 사용자는 이제 AI를 사용하여 스티커를 찾고…
12월 4, 2024