{"repo":"tdlight-team/tdlight-java","free":true,"listed":false,"github":"https://github.com/tdlight-team/tdlight-java","clone":"git clone https://github.com/tdlight-team/tdlight-java.git","description":"Complete Bot and Userbot Telegram library based on TDLib","language":"Java","stars":333,"topics":["telegram","tdlib","telegram-bot","telegram-bot-api","telegram-api","telegram-bots","telegrambot","mtproto","java","tdlib-java"],"license":"LGPL-3.0","category":"chat-messaging","readme_excerpt":"TDLight Java Complete Bot and Userbot Telegram library written in Java, based on TDLib 💻 Supported platforms Java versions : from Java 17 to Java 21+ (Java 8 to 16 is supported with the jdk8 wrapper and legacy API shown below) Operating systems : Linux, Windows, MacOS CPU architectures : - amd64 (Linux, Windows) - armhf (Linux) - arm64 (Linux, MacOS) - ppc64el (Linux) - riscv64 (linux) 📚 Required libraries - Linux: OpenSSL1/OpenSSL3, zlib, (libc++ if you use clang) - MacOS: OpenSSL - Windows: Microsoft Visual C++ Redistributable Install OpenSSL on macOS You must install openssl@3 using the brew package manager , then link openssl to /usr/local/opt/openssl If you don't know how to do this, type the following commands in your terminal: 📚 How to use the library Setting up the library using Maven If you are using Maven, edit your pom.xml file as below: For Java 8 to 16, replace the tdlight-java dependency above with the following two dependencies. The explicit API selection is required even when Maven itself runs on a newer JDK (for example, when using toolchains): Replace VERSION with the latest release version, you can find it here. Setting up the library using Gradle If you are using Gradle, add the following lines into your build.gradle file For Java 8 to 16, use the following wrapper/API declarations instead: Replace VERSION with the latest release version, you can find it here. ⚒ Native dependencies To use TDLight Java you need to include the native libraries, by specify","default_branch":null,"files":null,"tree":[],"storefront":"/r/tdlight-team","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tdlight-team/tdlight-java/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}