public class RequestUpdatesManager extends UpdateManager
running| Constructor and Description |
|---|
RequestUpdatesManager(TelegramBot telegramBot,
boolean getPreviousUpdates) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
startUpdates()
Use this to start the UpdateManager and begin receiving Updates
|
void |
stopUpdates()
Use this to stop the UpdateManager from running
|
getBotInstance, isRunningpublic RequestUpdatesManager(TelegramBot telegramBot, boolean getPreviousUpdates)
public boolean startUpdates()
UpdateManagerstartUpdates in class UpdateManagerpublic void stopUpdates()
UpdateManagerstopUpdates in class UpdateManagerCopyright © 2017. All rights reserved.