BooruGrabberTelegramBot/src/main/kotlin/ChatConfig.kt

12 lines
208 B
Kotlin
Raw Normal View History

2022-09-06 18:52:45 +00:00
import dev.inmo.krontab.*
import kotlinx.serialization.Serializable
@Serializable
data class ChatConfig(
val krontab: KrontabTemplate
) {
val scheduler by lazy {
krontab.toSchedule()
}
}