Commands Keeper
In memory commands keeper. Contains all the registered commands inside and can be useful in case you wish to addCommand or removeCommand
Constructors
Functions
Link copied to clipboard
suspend fun addCommand(languageCode: IetfLanguageCode, command: BotCommand)
Content copied to clipboard
suspend fun addCommand( scope: BotCommandScope, languageCode: IetfLanguageCode, command: BotCommand)
Content copied to clipboard
suspend fun addCommand( scope: BotCommandScope, languageCode: String, command: BotCommand)
Content copied to clipboard
Link copied to clipboard
suspend fun removeCommand(languageCode: IetfLanguageCode, command: BotCommand)
Content copied to clipboard
suspend fun removeCommand( scope: BotCommandScope, languageCode: IetfLanguageCode, command: BotCommand)
Content copied to clipboard
suspend fun removeCommand( scope: BotCommandScope, languageCode: String, command: BotCommand)
Content copied to clipboard