Class WebhookUpdateProcessor
java.lang.Object
org.teleight.teleightbots.updateprocessor.WebhookUpdateProcessor
- All Implemented Interfaces:
Closeable,AutoCloseable,UpdateProcessor
-
Field Summary
Fields inherited from interface org.teleight.teleightbots.updateprocessor.UpdateProcessor
processorEvents -
Constructor Summary
ConstructorsConstructorDescriptionWebhookUpdateProcessor(@NotNull WebhookTelegramBot bot, @NotNull WebhookServer webhookServer) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teleight.teleightbots.updateprocessor.UpdateProcessor
handleNewUpdate
-
Constructor Details
-
WebhookUpdateProcessor
public WebhookUpdateProcessor(@NotNull @NotNull WebhookTelegramBot bot, @NotNull @NotNull WebhookServer webhookServer)
-
-
Method Details
-
start
- Specified by:
startin interfaceUpdateProcessor
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-