Uses of Interface
org.telegram.telegrambots.extensions.bots.commandbot.commands.IBotCommand
Packages that use IBotCommand
Package
Description
-
Uses of IBotCommand in org.telegram.telegrambots.extensions.bots.commandbot
Methods in org.telegram.telegrambots.extensions.bots.commandbot that return IBotCommandModifier and TypeMethodDescriptionfinal IBotCommandTelegramLongPollingCommandBot.getRegisteredCommand(String commandIdentifier) final IBotCommandTelegramWebhookCommandBot.getRegisteredCommand(String commandIdentifier) Methods in org.telegram.telegrambots.extensions.bots.commandbot that return types with arguments of type IBotCommandModifier and TypeMethodDescriptionfinal Map<IBotCommand,Boolean> TelegramLongPollingCommandBot.deregisterAll(IBotCommand... botCommands) final Map<IBotCommand,Boolean> TelegramWebhookCommandBot.deregisterAll(IBotCommand... botCommands) final Collection<IBotCommand>TelegramLongPollingCommandBot.getRegisteredCommands()final Collection<IBotCommand>TelegramWebhookCommandBot.getRegisteredCommands()final Map<IBotCommand,Boolean> TelegramLongPollingCommandBot.registerAll(IBotCommand... botCommands) final Map<IBotCommand,Boolean> TelegramWebhookCommandBot.registerAll(IBotCommand... botCommands) Methods in org.telegram.telegrambots.extensions.bots.commandbot with parameters of type IBotCommandModifier and TypeMethodDescriptionfinal booleanTelegramLongPollingCommandBot.deregister(IBotCommand botCommand) final booleanTelegramWebhookCommandBot.deregister(IBotCommand botCommand) final Map<IBotCommand,Boolean> TelegramLongPollingCommandBot.deregisterAll(IBotCommand... botCommands) final Map<IBotCommand,Boolean> TelegramWebhookCommandBot.deregisterAll(IBotCommand... botCommands) final booleanTelegramLongPollingCommandBot.register(IBotCommand botCommand) final booleanTelegramWebhookCommandBot.register(IBotCommand botCommand) final Map<IBotCommand,Boolean> TelegramLongPollingCommandBot.registerAll(IBotCommand... botCommands) final Map<IBotCommand,Boolean> TelegramWebhookCommandBot.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 IBotCommandModifier and TypeClassDescriptionclassRepresentation of a command, which can be executedclassBot command with message ID in execute methodMethods in org.telegram.telegrambots.extensions.bots.commandbot.commands that return IBotCommandModifier and TypeMethodDescriptionfinal IBotCommandCommandRegistry.getRegisteredCommand(String commandIdentifier) ICommandRegistry.getRegisteredCommand(String commandIdentifier) get registered commandMethods in org.telegram.telegrambots.extensions.bots.commandbot.commands that return types with arguments of type IBotCommandModifier and TypeMethodDescriptionfinal Map<IBotCommand,Boolean> CommandRegistry.deregisterAll(IBotCommand... botCommands) ICommandRegistry.deregisterAll(IBotCommand... botCommands) deregister multiple commandsfinal Collection<IBotCommand>CommandRegistry.getRegisteredCommands()ICommandRegistry.getRegisteredCommands()get a collection of all registered commandsfinal Map<IBotCommand,Boolean> CommandRegistry.registerAll(IBotCommand... botCommands) ICommandRegistry.registerAll(IBotCommand... botCommands) register multiple commandsMethods in org.telegram.telegrambots.extensions.bots.commandbot.commands with parameters of type IBotCommandModifier and TypeMethodDescriptionfinal booleanCommandRegistry.deregister(IBotCommand botCommand) booleanICommandRegistry.deregister(IBotCommand botCommand) deregister a commandfinal Map<IBotCommand,Boolean> CommandRegistry.deregisterAll(IBotCommand... botCommands) ICommandRegistry.deregisterAll(IBotCommand... botCommands) deregister multiple commandsfinal booleanCommandRegistry.register(IBotCommand botCommand) booleanICommandRegistry.register(IBotCommand botCommand) register a commandfinal Map<IBotCommand,Boolean> CommandRegistry.registerAll(IBotCommand... botCommands) 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 IBotCommandModifier and TypeClassDescriptionclassA special bot command used for printing help messages similiar to the Linux man command.classMethods in org.telegram.telegrambots.extensions.bots.commandbot.commands.helpCommand with parameters of type IBotCommandModifier and TypeMethodDescriptionstatic 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 IBotCommandModifier and TypeMethodDescriptionstatic StringHelpCommand.getHelpText(Collection<IBotCommand> botCommands) Returns the command and description of all supplied commands as a formatted String