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

Functions

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
Link copied to clipboard
suspend fun TelegramBot.getMe(): ExtendedBot
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>
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