public class TelegramClient extends Object implements Closeable
| Constructor and Description |
|---|
TelegramClient() |
TelegramClient(String proxyHostname,
int proxyPort) |
| Modifier and Type | Method and Description |
|---|---|
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 close()
throws IOException
Copyright © 2015 iSuper.org. All Rights Reserved.