Package dev. inmo. tgbotapi. extensions. api. bot
Functions
delete My Commands
Link copied to clipboard
suspend fun TelegramBot.deleteMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: IetfLanguageCode?): Boolean
Content copied to clipboard
suspend fun TelegramBot.deleteMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: String? = null): Boolean
Content copied to clipboard
get Me
Link copied to clipboard
get My Commands
Link copied to clipboard
suspend fun TelegramBot.getMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: IetfLanguageCode? = null): List<BotCommand>
Content copied to clipboard
suspend fun TelegramBot.getMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: String? = null): List<BotCommand>
Content copied to clipboard
set My Commands
Link copied to clipboard
suspend fun TelegramBot.setMyCommands(vararg commands: BotCommand, scope: BotCommandScope = BotCommandScopeDefault, languageCode: IetfLanguageCode?): Boolean
Content copied to clipboard
suspend fun TelegramBot.setMyCommands(vararg commands: BotCommand, scope: BotCommandScope = BotCommandScopeDefault, languageCode: String? = null): Boolean
Content copied to clipboard
suspend fun TelegramBot.setMyCommands(commands: List<BotCommand>, scope: BotCommandScope = BotCommandScopeDefault, languageCode: IetfLanguageCode?): Boolean
Content copied to clipboard
suspend fun TelegramBot.setMyCommands(commands: List<BotCommand>, scope: BotCommandScope = BotCommandScopeDefault, languageCode: String? = null): Boolean
Content copied to clipboard