| Constructor and Description |
|---|
DefaultWebhook() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerWebhook(WebhookBot callback) |
void |
setInternalUrl(String internalUrl) |
void |
setKeyStore(String keyStore,
String keyStorePassword) |
void |
startServer() |
@Inject
public DefaultWebhook()
throws TelegramApiRequestException
TelegramApiRequestExceptionpublic void setInternalUrl(String internalUrl)
setInternalUrl in interface Webhookpublic void setKeyStore(String keyStore, String keyStorePassword) throws TelegramApiRequestException
setKeyStore in interface WebhookTelegramApiRequestExceptionpublic void registerWebhook(WebhookBot callback)
registerWebhook in interface Webhookpublic void startServer()
throws TelegramApiRequestException
startServer in interface WebhookTelegramApiRequestExceptionCopyright © 2016. All rights reserved.