TelegramBot
Properties
Link copied to clipboard
An updater for set commands.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The name (User.username or User.firstName if it is null) of current bot.
Link copied to clipboard
User info of current bot. The value is updated each time queryUserInfo is used.
Functions
Link copied to clipboard
Fetches a TelegramBotCommands.
Fetches a TelegramBotCommands with scope and languageCode.
Link copied to clipboard
Execute TelegramApi by this bot.
Link copied to clipboard
Execute TelegramApi by this bot.
Link copied to clipboard
Execute TelegramApi by this bot.
Link copied to clipboard
Same to source.pushUpdate
Link copied to clipboard
Query user info of the current bot. And update the value of userInfo.
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline suspend fun TelegramBot.updateCommands(block: TelegramBotCommandsUpdater.() -> Unit): TelegramBotCommands
Update bot commands by TelegramBot.commandsUpdater