public class TelegramClient extends Object implements Closeable
| Constructor and Description |
|---|
TelegramClient() |
TelegramClient(String proxyHostname,
int proxyPort) |
| Modifier and Type | Method and Description |
|---|---|
void |
answerInlineQuery(String token,
String queryID,
Collection<InlineQueryResult> results) |
void |
answerInlineQuery(String token,
String queryID,
Collection<InlineQueryResult> results,
Integer cacheTime,
Boolean personal,
String nextOffset) |
void |
close() |
void |
replyMessage(String token,
String chatID,
long replyTo,
String msg) |
void |
replyMessage(String token,
String chatID,
long replyTo,
String msg,
boolean useMarkdown,
boolean disablePreview) |
void |
sendMessage(String token,
String chatID,
String msg) |
void |
sendMessage(String token,
String chatID,
String msg,
boolean useMarkdown,
boolean disablePreview) |
public TelegramClient()
public TelegramClient(String proxyHostname, int proxyPort)
public void sendMessage(String token, String chatID, String msg, boolean useMarkdown, boolean disablePreview)
public void replyMessage(String token, String chatID, long replyTo, String msg, boolean useMarkdown, boolean disablePreview)
public void answerInlineQuery(String token, String queryID, Collection<InlineQueryResult> results)
public void answerInlineQuery(String token, String queryID, Collection<InlineQueryResult> results, Integer cacheTime, Boolean personal, String nextOffset)
public void close()
throws IOException
Copyright © 2016 iSuper.org. All Rights Reserved.