Class DefaultWebhook
java.lang.Object
org.telegram.telegrambots.updatesreceivers.DefaultWebhook
- All Implemented Interfaces:
Webhook
- Version:
- 1.0 Webhook to receive updates
- Author:
- Ruben Bermudez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterWebhook(WebhookBot callback) voidsetInternalUrl(String internalUrl) voidsetKeyStore(String keyStore, String keyStorePassword) void
-
Constructor Details
-
DefaultWebhook
public DefaultWebhook()
-
-
Method Details
-
setInternalUrl
- Specified by:
setInternalUrlin interfaceWebhook
-
setKeyStore
- Specified by:
setKeyStorein interfaceWebhook- Throws:
TelegramApiException
-
registerWebhook
- Specified by:
registerWebhookin interfaceWebhook
-
startServer
- Specified by:
startServerin interfaceWebhook- Throws:
TelegramApiException
-