Skip to content

Latest commit

 

History

History
142 lines (94 loc) · 4.56 KB

File metadata and controls

142 lines (94 loc) · 4.56 KB

OneMessageBot

GitHub stars GitHub forks GitHub watchers GitHub issues GitHub open pull requests

GitHub last commit Maven Central Version

How to read version

The version is marked with four numbers separated by a dot X.Y.W.Z

  • X - Changes when changes affecting backward compatibility are made (for example, deprecated methods are removed)
  • Y - Changes when external dependencies are updated, removed, or changed
  • W - Changes when a new feature is added to the library
  • Z - Changes when fixes are applied to existing code.

The values ​​are not reset. They only increase.

License

OneMessageBotLicense

Documentation

OneMessageBot Documentation

Quick Start

OneMessageBot Quick Start

Example bot

Example of a bot based on the OneMessageBot library

Source code

Bot in Telegram

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:

<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

Donate

Crypto

  • Bitcoin - bc1p30r32x7dty8ga6qqe9xe3x46h8pgq3tkddcl94z6e2ww85wqrups9g86s7
  • Litecoin - ltc1ptlkdjs3ph5n8m4g9jvcjcgujwytxu3hm0963wnfr7nutrtplq0sstpdavf
  • USDT
    • ERC20 - 0x168c7CBFA7aeBD697A5b07Bf7B7B50aa0fFef80D
    • BEP20 - 0x168c7CBFA7aeBD697A5b07Bf7B7B50aa0fFef80D
    • TRC20 - TCDwJAoVmc4nMzZauWhKraK44k3kcBJBxv
  • TRX - TCDwJAoVmc4nMzZauWhKraK44k3kcBJBxv

Fiats