Interface Webhook
-
public interface Webhook- Version:
- 1.0 Webhook interface
- Author:
- Ruben Bermudez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregisterWebhook(WebhookBot callback)voidsetInternalUrl(String internalUrl)voidsetKeyStore(String keyStore, String keyStorePassword)voidstartServer()
-
-
-
Method Detail
-
startServer
void startServer() throws TelegramApiRequestException- Throws:
TelegramApiRequestException
-
registerWebhook
void registerWebhook(WebhookBot callback)
-
setInternalUrl
void setInternalUrl(String internalUrl)
-
setKeyStore
void setKeyStore(String keyStore, String keyStorePassword) throws TelegramApiRequestException
- Throws:
TelegramApiRequestException
-
-