TelegramBot

constructor(configLoader: ConfigLoader)

Constructor to build through configuration loader.


constructor(token: String, commandsPackage: String? = null, httpClient: HttpClient? = null, botConfiguration: BotConfigurator = {})


constructor(token: String, commandsPackage: String? = null, botConfiguration: BotConfigurator = {})

Parameters

commandsPackage

The place where the search for commands and inputs will be done.

botConfiguration

Lambda function to customize the bots instance. See BotConfiguration