public final class TelegramBot extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
answerInlineQuery(String inlineQueryId,
InlineQueryResponse inlineQueryResponse) |
String |
getBotAPIUrl() |
static Chat |
getChat(int chatID)
Deprecated.
|
static Chat |
getChat(long chatID) |
static Chat |
getChat(String chatID) |
ListenerRegistry |
getEventsManager() |
static TelegramBot |
login(String authToken) |
Message |
sendMessage(Chat chat,
SendableMessage message) |
void |
startUpdates(boolean getPreviousUpdates) |
public static final String API_URL
public static TelegramBot login(String authToken)
@Deprecated public static Chat getChat(int chatID)
public static Chat getChat(long chatID)
public String getBotAPIUrl()
public Message sendMessage(Chat chat, SendableMessage message)
public boolean answerInlineQuery(String inlineQueryId, InlineQueryResponse inlineQueryResponse)
public void startUpdates(boolean getPreviousUpdates)
public ListenerRegistry getEventsManager()
Copyright © 2016. All rights reserved.