public interface BotSession
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning()
Check if the bot is running
|
void |
setCallback(LongPollingBot callback) |
void |
setOptions(BotOptions options) |
void |
setToken(String token) |
void |
start()
Starts the bot
|
void |
stop()
Stops the bot
|
void setOptions(BotOptions options)
void setToken(String token)
void setCallback(LongPollingBot callback)
void start()
void stop()
boolean isRunning()
Copyright © 2019. All rights reserved.