Package dev.inmo.tgbotapi.extensions.api.bot

Functions

deleteMyCommands
Link copied to clipboard
suspend fun TelegramBot.deleteMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: IetfLanguageCode?): Boolean
suspend fun TelegramBot.deleteMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: String? = null): Boolean
getMe
Link copied to clipboard
suspend fun TelegramBot.getMe(): ExtendedBot
getMyCommands
Link copied to clipboard
suspend fun TelegramBot.getMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: IetfLanguageCode? = null): List<BotCommand>
suspend fun TelegramBot.getMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: String?): List<BotCommand>
setMyCommands
Link copied to clipboard
suspend fun TelegramBot.setMyCommands(vararg commands: BotCommand, scope: BotCommandScope = BotCommandScopeDefault, languageCode: IetfLanguageCode?): Boolean
suspend fun TelegramBot.setMyCommands(vararg commands: BotCommand, scope: BotCommandScope = BotCommandScopeDefault, languageCode: String? = null): Boolean
suspend fun TelegramBot.setMyCommands(commands: List<BotCommand>, scope: BotCommandScope = BotCommandScopeDefault, languageCode: IetfLanguageCode?): Boolean
suspend fun TelegramBot.setMyCommands(commands: List<BotCommand>, scope: BotCommandScope = BotCommandScopeDefault, languageCode: String? = null): Boolean