Welcome to OneMessageBot Documentation

About the Library

This library provides a convenient framework for creating bots.
Every bot created using this library operates in a "single window and buttons" mode.
Essentially, the library is a bot message manager for Telegram that simplifies bot functionality to a single window and keyboard interface.

Features:

drawing MongoDB (built-in support)

drawing SQLite (built-in support)

drawing JDBC support with Connection specification

drawing Creation of multi-page keyboards

drawing Multilingual support with the ability to provide custom translations

drawing Event handling in methods using ViewMessageImpl

drawing @ViewMessageListener annotation for registering event handlers

drawing Notification support

drawing Sending text messages

drawing Sending images with links, java.io.File, or byte[]

drawing Sending videos with links, java.io.File, or byte[]

drawing Sending audio with links, java.io.File, or byte[]

drawing Sending documents with links, java.io.File, or byte[]

drawing Updatable messages by time

drawing Sending Reply Keyboard

Installation

Maven:

Maven:

<dependency>
    <groupId>space.zoommax</groupId>
    <artifactId>OneMessageBot</artifactId>
    <version>2.1.4.8</version>
</dependency>

Gradle:

implementation 'space.zoommax:OneMessageBot:2.1.4.8'

Third-party Dependencies

  1. java-telegram-bot-api :: Repository: github.com/pengrad/java-telegram-bot-api :: Version: 7.0.1

  2. MongoDBConnector :: Repository: github.com/zoommax/MongoDBConnector :: Version: 1.1

  3. Lombok :: Official site: projectlombok.org :: Version: 1.18.30

  4. SLF4J :: Official site: slf4j.org :: Version: 2.0.11

  5. Reflections :: Repository: github.com/ronmamo/reflections :: Version: 0.10.2

  6. Jackson Databind :: Repository: github.com/FasterXML/jackson-databind :: Version: 2.18.2

  7. SQLite JDBC :: Repository: github.com/xerial/sqlite-jdbc :: Version: 3.47.2.0