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:
MongoDB (built-in support)
SQLite (built-in support)
JDBC support with
Connection
specification
Creation of multi-page keyboards
Multilingual support with the ability to provide custom translations
Event handling in methods using
ViewMessageImpl
@ViewMessageListener
annotation for registering event handlers
Notification support
Sending text messages
Sending images with links,
java.io.File
, or byte[]
Sending videos with links,
java.io.File
, or byte[]
Sending audio with links,
java.io.File
, or byte[]
Sending documents with links,
java.io.File
, or byte[]
Updatable messages by time
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¶
-
java-telegram-bot-api :: Repository: github.com/pengrad/java-telegram-bot-api :: Version: 7.0.1
-
MongoDBConnector :: Repository: github.com/zoommax/MongoDBConnector :: Version: 1.1
-
Lombok :: Official site: projectlombok.org :: Version: 1.18.30
-
Reflections :: Repository: github.com/ronmamo/reflections :: Version: 0.10.2
-
Jackson Databind :: Repository: github.com/FasterXML/jackson-databind :: Version: 2.18.2
-
SQLite JDBC :: Repository: github.com/xerial/sqlite-jdbc :: Version: 3.47.2.0