public abstract class TelegramWebhookBot extends DefaultAbsSender implements WebhookBot
exe| Constructor and Description |
|---|
TelegramWebhookBot() |
TelegramWebhookBot(DefaultBotOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
setWebhook(String url,
String publicCertificatePath) |
downloadFile, downloadFile, downloadFileAsync, downloadFileAsync, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, getBaseUrl, getBotToken, getOptions, sendApiMethod, sendApiMethodAsyncexecute, executeAsync, getMe, getMeAsync, getWebhookInfo, getWebhookInfoAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBotPath, getBotToken, getBotUsername, onWebhookUpdateReceivedpublic TelegramWebhookBot()
public TelegramWebhookBot(DefaultBotOptions options)
public void setWebhook(String url, String publicCertificatePath) throws TelegramApiRequestException
setWebhook in interface WebhookBotTelegramApiRequestExceptionCopyright © 2018. All rights reserved.