All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.vendeli.tgbot.interfaces.ConfigLoader.kt Maven / Gradle / Ivy

There is a newer version: 6.6.0
Show newest version
package eu.vendeli.tgbot.interfaces

import eu.vendeli.tgbot.types.internal.configuration.BotConfiguration

/**
 * An interface for configuring the bot.
 *
 * @property token Token of your bot
 * @property commandsPackage The place where the search for commands and inputs will be done.
 */
interface ConfigLoader {
    val token: String
    val commandsPackage: String? get() = null

    /**
     * Function to load bot configuration class.
     */
    fun load(): BotConfiguration
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy