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 |
sendMessageToMultipleTelegramChats(String token,
boolean useMarkdown,
boolean disablePreview,
Long[] chatIDs,
String msg) |
void |
sendMessageToSingleTelegramChat(String token,
boolean useMarkdown,
boolean disablePreview,
Long chatID,
String msg) |
public TelegramClient()
public TelegramClient(String proxyHostname, int proxyPort)
public void sendMessageToMultipleTelegramChats(String token, boolean useMarkdown, boolean disablePreview, Long[] chatIDs, String msg)
public void sendMessageToSingleTelegramChat(String token, boolean useMarkdown, boolean disablePreview, Long chatID, String msg)
public void close()
throws IOException
Copyright © 2015 iSuper.org. All Rights Reserved.