Interface TelegramBot
-
- All Known Subinterfaces:
LongPollingBot,WebhookBot
public interface TelegramBotMain interface for telegram bots.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetBotToken()Return bot token to access Telegram APIStringgetBotUsername()Return username of this botdefault voidonRegister()Is called when bot gets registered
-