public final class WebhookUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
clearWebhook(DefaultAbsSender bot) |
static void |
setWebhook(DefaultAbsSender bot,
String url,
String publicCertificatePath) |
public static void setWebhook(DefaultAbsSender bot, String url, String publicCertificatePath) throws TelegramApiRequestException
TelegramApiRequestExceptionpublic static void clearWebhook(DefaultAbsSender bot) throws TelegramApiRequestException
TelegramApiRequestExceptionCopyright © 2018. All rights reserved.