TeleightBots is a lightweight, high-performance, easy to use Java Telegram Bot API wrapper. It uses modern Java 21 APIs to provide a flexible and easier development experience.
Caution
Teleight is still in early development! If you find any problems, feel free to create an issue on GitHub. Contributions are welcome!
Important
If you're new to bot creation, start with the Official Telegram Bots Documentation to understand the basics.
An example of how to use the TeleightBots library is available here. Wiki and Javadocs are not yet available.
To set up the library locally, follow these steps:
- Clone the repository:
git clone https://github.com/Teleight/TeleightBots.git && cd TeleightBots
- Publish to maven local:
./gradlew publishToMavenLocal
- Add the dependency to your project
repositories {
mavenLocal() // Include the local Maven repository
}
dependencies {
implementation("org.teleight:TeleightBots:VERSION") // Replace VERSION with the latest version
}
repositories {
mavenLocal() // Include the local Maven repository
}
dependencies {
implementation 'org.teleight:TeleightBots:VERSION' // Replace VERSION with the latest version
}
<dependencies>
<dependency>
<groupId>org.teleight</groupId>
<artifactId>TeleightBots</artifactId>
<version>VERSION</version> <!-- Replace VERSION with the latest version -->
</dependency>
</dependencies>
Make sure to replace VERSION
with the latest version of the library.
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This project is licensed under the GNU General Public License v3.0. All contributions are accepted under the same license.
Want to contribute? Feel free to fork this repository and create a pull request with your changes. Please ensure you follow the Contribution Guidelines before creating a pull request.
Give this repository a star to support the development!