TDLib Binaries
Visit our Telegram channel!
Last TDLib version: 1.8.22
This repository contains prebuilt TDLib binaries.
Available binaries
Language | Version | Architectures | Debug Or Release | Operating System(s) | Notes |
---|---|---|---|---|---|
C# | 1.8.0 | x64 | Release | Windows | C++/CLI |
C# | 1.7.10 | x64 | Release | Windows | C++/CLI |
C# | 1.7.9 | x64 | Release | Windows | C++/CLI |
C# | 1.7.8 | x64 & x86 | Release | Windows | C++/CLI |
C# | 1.7.0 | x64 | Both | Windows | C++/CLI |
JavaScript | 1.7.8 | - | - | Web | Also published at https://npmjs.com/package/@dibgram/tdweb |
JavaScript | 1.7.2 | - | - | Web | This version is downloaded from the NPM registry (https://npmjs.com/package/tdweb) |
JavaScript | 1.7.0 | - | - | Web | This version might not save sessions and need a login on every refresh |
TDJson | 1.8.0 | All*[1] | Release | Linux/Ubuntu 20.04 | This binary is same as that of Python, PHP, and any other language that can call C libs |
TDJson | 1.7.9 | All*[1] | Release | Linux/Ubuntu 20.04 | This binary is same as that of Python, PHP, and any other language that can call C libs |
You can use get TDWeb binaries in DIBgram/tdweb
Notes:
- TDJson will use int64 for user IDs, So you'll need an x64 in PHP and some other programming languages
Contributions
You can contribute by doing one of these things:
- Adding binaries that doesn't has automatic build
- Creating a Powershell/Bash script for building TDLib for: [
c++
,jni
,ios
] - Running a building script for any language you want
Adding binaries
- On your fork, create a directory with the following path: (from outer to inner folder)
- Language/variant (
c#
,jni
,tdweb
,tdjson
, etc.) - Operating system (
windows
,linux
,macOS
,iOS
,Android
, etc.) - Version (
v1.0.0
,v1.7.0
,v1.7.8
, etc.) - Processor architecture (
x86
,x64
,ARM
,ARM64
, etc.) - Build type (
debug
Orrelease
) Example:/c#/windows/v1.7.9/x64/release/
- Language/variant (
- Upload the binaries into that folder
- Add the info about the binary to the README table
Creating script
Terms:
- Printing help message if argument
-h
or--help
passed. - It should be with extensions
.ps1
or.sh
- Script should has functions
InstallTdLib
andBuildTdLib
at least
Running script
Requirements:
- At least 1.5 free GB of RAM
- Running as administrator
At first you should clone this repo recursively:
git clone https://github.com/Muaath5/TDLibBinaries.git --recursive
Then execute any script you like, And follow AddBinaries explanation
After that, you can submit a pull request to help community creating apps based on TDLib :)