/rebot

ReBot - A Java EE Telegram Bot API

Primary LanguageJavaMIT LicenseMIT

ReBot - A Java API for Telegram

ReBot - Java 11 ReBot - Java 16 ReBot - Java 17 ReBot - Java 17 Code Analysis

This API is composed by 3 Key Sub Projects, which are:

Also, you can find a Telegram Bot, ready to use, All you need to do is provide your Bot Token and Username.

For more details about each module, please visit its README file.

Using SNAPSHOT artifacts

The SNAPSHOT artifacts can be used by configuring the following maven repository:

https://s01.oss.sonatype.org/content/groups/public/

Quarkus Hot Reload feature

You can rely on the hot reload feature, you just need to start it in the dev mode from the rebot-telegram directory:

mvn clean compile quarkus:dev \
  -Dxyz.rebasing.rebot.telegram.token=<BOT_TOKEN> \
  -Dxyz.rebasing.rebot.telegram.userId=<BOT_ID>

Code Style

This project uses a similar Java code style than https://github.com/kiegroup/droolsjbpm-build-bootstrap/tree/main/ide-configuration

Known issues

  • Native compilation when using embedded H2 database:
    • General error: "java.lang.UnsupportedOperationException: H2 database compiled into a native-image is only functional as a client: can't create an Embedded Database Session" [50000-197]
    • quarkusio/quarkus#27021

Did you find a bug or do you have a suggestion?

Feel free to raise a issue.