This is a project to pack TDLib (the Telegram Database library) binaries built for several platforms:
- MacOS 13 (x86-64) (GitHub Actions image:
macos-13
) - MacOS 14 (AArch64) (GitHub Actions image:
macos-14
) - Ubuntu 20.04 (x86-64) (GitHub Actions image:
ubuntu-20.04
) - Ubuntu 22.04 (x86-64) (GitHub Actions image:
ubuntu-22.04
) - Windows Server 2019 (x86-64) (GitHub Actions image:
windows-2019
)
We aim to create a transparent process with no manual intervention, where every artifact is produced in a clean CI environment, and uploaded automatically.
-
Install the latest package (all binaries packed for .NET SDK) from NuGet:
Platform Package Linux x86-64 (Ubuntu 20.04) Linux x86-64 (Ubuntu 22.04) Windows x86-64 macOS AArch64 macOS x86-64 All tdlib.native package depends on latest versions of each other platform (i.e. all except the obsolete Ubuntu 20.04), so the resulting application will work on any supported platform.
-
Download the latest binaries from the Releases section
If using .NET, then you'll probably need to also install tdsharp, and then use the library through the provided API.
For other technologies or if you don't want to use tdsharp in .NET, you can just download the binaries and then use them in a manner your technology allows to use dynamically loaded libraries. Consult the TDLib documentation for further directions.
This package doesn't bundle certain dependencies, and they are expected to be provided by the user's environment.
On Ubuntu 20.04, the TDLib version provided by tdlib.native is compiled against OpenSSL 1.1.
On Ubuntu 22.04, the TDLib version provided by tdlib.native is compiled against OpenSSL 3.0.
On macOS, the TDLib version provided by tdlib.native is compiled against OpenSSL 3.0.
On Windows, Microsoft Visual C++ Redistributable of version 2019 or higher is required by TDLib.