Skip to content

Prebuilt binaries of TDLib distributed as a NuGet package.

License

Notifications You must be signed in to change notification settings

ForNeVeR/tdlib.native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tdlib.native

This is a project to pack TDLib (the Telegram Database library) binaries built for several platforms:

We aim to create a transparent process with no manual intervention, where every artifact is produced in a clean CI environment, and uploaded automatically.

Getting Started

  • Install the latest package (all binaries packed for .NET SDK) from NuGet:

    Platform Package
    Linux x86-64 (Ubuntu 20.04) NuGet
    Linux x86-64 (Ubuntu 22.04) NuGet
    Windows x86-64 NuGet
    macOS AArch64 NuGet
    macOS x86-64 NuGet
    All NuGet

    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.

Library Dependencies

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.

Documentation