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 void
registerWebhook(WebhookBot callback)
void
setInternalUrl(String internalUrl)
void
setKeyStore(String keyStore, String keyStorePassword)
void
startServer()
-
-
-
Method Detail
-
startServer
void startServer() throws TelegramApiException
- Throws:
TelegramApiException
-
registerWebhook
void registerWebhook(WebhookBot callback)
-
setInternalUrl
void setInternalUrl(String internalUrl)
-
setKeyStore
void setKeyStore(String keyStore, String keyStorePassword) throws TelegramApiException
- Throws:
TelegramApiException
-
-