Skip to content
Lasklu edited this page Aug 5, 2020 · 9 revisions

Overview

TDLib (Telegram Database Library) is a cross-platform, fully functional Telegram client. It is a C-Library which can be used in Squeak with FFI.

Building TDLib

Tdlib build instructions are available on their Github page. They also have a wonderful build instruction generator available which was the basis for our workflow . Check it out here. Alternatively use the Github Pipelines we setup and modify them according to newer build instructions for successive tdlib versions. Currently we release at Tag 1.6.0.

Notes on TDLib

The TelegramClient is build on the TelegramDatabaseLibrary which provides access to Telegram API via a JSON-Interface. We include Tdlib in our project and can access it with the Squeak FFI, in turn allowing us to access the Telegram API via JSON-Interface. Once this project concludes there will be a need for the next group to aquire a new API key.

Clone this wiki locally