Spring JPA
Save all states in database
All you have to do is add a dependency for source-jpa
:
dependencies {
implementation("io.github.dehuckakpyt.telegrambot:telegram-bot-core:0.11.7a")
implementation("io.github.dehuckakpyt.telegrambot:telegram-bot-spring:0.11.7a")
implementation("io.github.dehuckakpyt.telegrambot:telegram-bot-source-jpa:0.11.7a")
}
dependencies {
implementation("io.github.dehuckakpyt.telegrambot:telegram-bot-core:0.11.7a")
implementation("io.github.dehuckakpyt.telegrambot:telegram-bot-spring:0.11.7a")
implementation("io.github.dehuckakpyt.telegrambot:telegram-bot-source-spring2-jpa:0.11.7a")
}
Available properties
PROPERTY | DEFAULT | DESCRIPTION |
---|---|---|
|
| Disable all default sources |
|
| Disable default message source |
|
| Disable default chain source |
|
| Disable default callback content source |
|
| Max count of contents will be saved for every user ( |
Last modified: 27 July 2024