public class TelegramBot extends Object
| Constructor and Description |
|---|
TelegramBot(BotConfig config,
ChatUpdatesBuilder chatUpdatesBuilder,
int apiKey,
String apiHash) |
| Modifier and Type | Method and Description |
|---|---|
BotConfig |
getConfig() |
KernelAuth |
getKernelAuth() |
IKernelComm |
getKernelComm() |
MainHandler |
getMainHandler() |
LoginStatus |
init() |
boolean |
isAuthenticated() |
void |
startBot() |
void |
stopBot() |
public TelegramBot(BotConfig config, ChatUpdatesBuilder chatUpdatesBuilder, int apiKey, String apiHash)
public LoginStatus init() throws NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException
public void startBot()
public void stopBot()
public BotConfig getConfig()
public IKernelComm getKernelComm()
public KernelAuth getKernelAuth()
public MainHandler getMainHandler()
public boolean isAuthenticated()
Copyright © 2017. All rights reserved.