TelegramBotCommandsUpdater

An updater for set bot commands.

Author

ForteScarlet

Properties

Link copied to clipboard

Commands for update.

Link copied to clipboard
abstract var languageCode: String?
Link copied to clipboard

Functions

Link copied to clipboard
open fun addCommand(command: String, description: String): TelegramBotCommandsUpdater

Add a command into commands

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun update(): TelegramBotCommands

Execute setting and a new TelegramBotCommands that values directly based on new commands is returned.