Telegram Bot
class TelegramBot(token: String, commandsPackage: String? = null, botConfiguration: BotConfigurator = {})
Telegram bot main instance
Parameters
commands Package
The place where the search for commands and inputs will be done.
bot Configuration
Lambda function to customize the bots instance. See BotConfiguration
Constructors
Link copied to clipboard
Constructor to build through configuration loader.
constructor(token: String, commandsPackage: String? = null, httpClient: HttpClient? = null, botConfiguration: BotConfigurator = {})
Properties
Functions
Link copied to clipboard
define Activities
Link copied to clipboard
Link copied to clipboard
Get file from File if File.filePath is present.
Link copied to clipboard
Get direct url from File if File.filePath is present
Link copied to clipboard
Method to get given class instance through defined ClassManager.
Link copied to clipboard
Function for processing updates by long-pulling using annotation commands.
Function for processing updates by long-pulling using functional handling.