BotConfiguration

Configuration for the bot.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var pckg: String?

Package where commands are searched.

Link copied to clipboard

Token for the bot.

Functions

Link copied to clipboard

Set the bot configuration.

Link copied to clipboard

Set the handling behavior for updates.

Link copied to clipboard
fun onInit(block: suspend (bot: TelegramBot) -> Unit)

Set the initialization hook for the bot.