| Package | Description |
|---|---|
| org.telegram.telegrambots.bots | |
| org.telegram.telegrambots.bots.commands |
| Modifier and Type | Method and Description |
|---|---|
BotCommand |
TelegramLongPollingCommandBot.getRegisteredCommand(String commandIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
Map<BotCommand,Boolean> |
TelegramLongPollingCommandBot.deregisterAll(BotCommand... botCommands) |
Collection<BotCommand> |
TelegramLongPollingCommandBot.getRegisteredCommands() |
Map<BotCommand,Boolean> |
TelegramLongPollingCommandBot.registerAll(BotCommand... botCommands) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TelegramLongPollingCommandBot.deregister(BotCommand botCommand) |
Map<BotCommand,Boolean> |
TelegramLongPollingCommandBot.deregisterAll(BotCommand... botCommands) |
boolean |
TelegramLongPollingCommandBot.register(BotCommand botCommand) |
Map<BotCommand,Boolean> |
TelegramLongPollingCommandBot.registerAll(BotCommand... botCommands) |
| Modifier and Type | Method and Description |
|---|---|
BotCommand |
ICommandRegistry.getRegisteredCommand(String commandIdentifier)
get registered command
|
BotCommand |
CommandRegistry.getRegisteredCommand(String commandIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
Map<BotCommand,Boolean> |
ICommandRegistry.deregisterAll(BotCommand... botCommands)
deregister multiple commands
|
Map<BotCommand,Boolean> |
CommandRegistry.deregisterAll(BotCommand... botCommands) |
Collection<BotCommand> |
ICommandRegistry.getRegisteredCommands()
get a collection of all registered commands
|
Collection<BotCommand> |
CommandRegistry.getRegisteredCommands() |
Map<BotCommand,Boolean> |
ICommandRegistry.registerAll(BotCommand... botCommands)
register multiple commands
|
Map<BotCommand,Boolean> |
CommandRegistry.registerAll(BotCommand... botCommands) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ICommandRegistry.deregister(BotCommand botCommand)
deregister a command
|
boolean |
CommandRegistry.deregister(BotCommand botCommand) |
Map<BotCommand,Boolean> |
ICommandRegistry.deregisterAll(BotCommand... botCommands)
deregister multiple commands
|
Map<BotCommand,Boolean> |
CommandRegistry.deregisterAll(BotCommand... botCommands) |
boolean |
ICommandRegistry.register(BotCommand botCommand)
register a command
|
boolean |
CommandRegistry.register(BotCommand botCommand) |
Map<BotCommand,Boolean> |
ICommandRegistry.registerAll(BotCommand... botCommands)
register multiple commands
|
Map<BotCommand,Boolean> |
CommandRegistry.registerAll(BotCommand... botCommands) |
Copyright © 2017. All rights reserved.