org.telegram.telegrambots.meta.generics.Webhook Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegrambots-meta Show documentation
Show all versions of telegrambots-meta Show documentation
Easy to use library to create Telegram Bots
package org.telegram.telegrambots.meta.generics;
import org.telegram.telegrambots.meta.exceptions.TelegramApiException;
/**
* @author Ruben Bermudez
* @version 1.0
* Webhook interface
*/
public interface Webhook {
void startServer() throws TelegramApiException;
void registerWebhook(WebhookBot callback);
void setInternalUrl(String internalUrl);
void setKeyStore(String keyStore, String keyStorePassword) throws TelegramApiException;
}