Uses of Interface
org.telegram.telegrambots.extensions.bots.commandbot.commands.IBotCommand
-
-
Uses of IBotCommand in org.telegram.telegrambots.extensions.bots.commandbot
Methods in org.telegram.telegrambots.extensions.bots.commandbot that return IBotCommand Modifier and Type Method Description IBotCommandTelegramLongPollingCommandBot. getRegisteredCommand(String commandIdentifier)Methods in org.telegram.telegrambots.extensions.bots.commandbot that return types with arguments of type IBotCommand Modifier and Type Method Description Map<IBotCommand,Boolean>TelegramLongPollingCommandBot. deregisterAll(IBotCommand... botCommands)Collection<IBotCommand>TelegramLongPollingCommandBot. getRegisteredCommands()Map<IBotCommand,Boolean>TelegramLongPollingCommandBot. registerAll(IBotCommand... botCommands)Methods in org.telegram.telegrambots.extensions.bots.commandbot with parameters of type IBotCommand Modifier and Type Method Description booleanTelegramLongPollingCommandBot. deregister(IBotCommand botCommand)Map<IBotCommand,Boolean>TelegramLongPollingCommandBot. deregisterAll(IBotCommand... botCommands)booleanTelegramLongPollingCommandBot. register(IBotCommand botCommand)Map<IBotCommand,Boolean>TelegramLongPollingCommandBot. registerAll(IBotCommand... botCommands) -
Uses of IBotCommand in org.telegram.telegrambots.extensions.bots.commandbot.commands
Classes in org.telegram.telegrambots.extensions.bots.commandbot.commands that implement IBotCommand Modifier and Type Class Description classBotCommandRepresentation of a command, which can be executedclassDefaultBotCommandBot command with message ID in execute methodMethods in org.telegram.telegrambots.extensions.bots.commandbot.commands that return IBotCommand Modifier and Type Method Description IBotCommandCommandRegistry. getRegisteredCommand(String commandIdentifier)IBotCommandICommandRegistry. getRegisteredCommand(String commandIdentifier)get registered commandMethods in org.telegram.telegrambots.extensions.bots.commandbot.commands that return types with arguments of type IBotCommand Modifier and Type Method Description Map<IBotCommand,Boolean>CommandRegistry. deregisterAll(IBotCommand... botCommands)Map<IBotCommand,Boolean>ICommandRegistry. deregisterAll(IBotCommand... botCommands)deregister multiple commandsCollection<IBotCommand>CommandRegistry. getRegisteredCommands()Collection<IBotCommand>ICommandRegistry. getRegisteredCommands()get a collection of all registered commandsMap<IBotCommand,Boolean>CommandRegistry. registerAll(IBotCommand... botCommands)Map<IBotCommand,Boolean>ICommandRegistry. registerAll(IBotCommand... botCommands)register multiple commandsMethods in org.telegram.telegrambots.extensions.bots.commandbot.commands with parameters of type IBotCommand Modifier and Type Method Description booleanCommandRegistry. deregister(IBotCommand botCommand)booleanICommandRegistry. deregister(IBotCommand botCommand)deregister a commandMap<IBotCommand,Boolean>CommandRegistry. deregisterAll(IBotCommand... botCommands)Map<IBotCommand,Boolean>ICommandRegistry. deregisterAll(IBotCommand... botCommands)deregister multiple commandsbooleanCommandRegistry. register(IBotCommand botCommand)booleanICommandRegistry. register(IBotCommand botCommand)register a commandMap<IBotCommand,Boolean>CommandRegistry. registerAll(IBotCommand... botCommands)Map<IBotCommand,Boolean>ICommandRegistry. registerAll(IBotCommand... botCommands)register multiple commands -
Uses of IBotCommand in org.telegram.telegrambots.extensions.bots.commandbot.commands.helpCommand
Classes in org.telegram.telegrambots.extensions.bots.commandbot.commands.helpCommand that implement IBotCommand Modifier and Type Class Description classHelpCommandA special bot command used for printing help messages similiar to the Linux man command.classManCommandMethods in org.telegram.telegrambots.extensions.bots.commandbot.commands.helpCommand with parameters of type IBotCommand Modifier and Type Method Description static StringHelpCommand. getHelpText(IBotCommand... botCommands)Returns the command and description of all supplied commands as a formatted Stringstatic StringHelpCommand. getManText(IBotCommand command)Reads the extended Description from a BotCommand.Method parameters in org.telegram.telegrambots.extensions.bots.commandbot.commands.helpCommand with type arguments of type IBotCommand Modifier and Type Method Description static StringHelpCommand. getHelpText(Collection<IBotCommand> botCommands)Returns the command and description of all supplied commands as a formatted String
-