Package-level declarations

Types

Link copied to clipboard
abstract class BotConfiguration

Base configuration for a Telegram bot.

Link copied to clipboard
@Configuration
open class SpringClassManager(applicationContext: ApplicationContext) : ClassManager
Link copied to clipboard
@AutoConfiguration
@Import(value = [SpringClassManager::class])
@EnableConfigurationProperties(value = [TgConfigProperties::class])
open class TelegramAutoConfiguration(config: TgConfigProperties, springClassManager: SpringClassManager)
Link copied to clipboard
@ConfigurationProperties(prefix = "ktgram")
data class TgConfigProperties @ConstructorBinding constructor(val autoStartPolling: Boolean = true, val shareHttpClient: Boolean = false, val maxHandlingRetries: Int = 5, val bot: List<TgConfigProperties.BotProperties>)

Configuration properties for KtGram.