Class DefaultTelegramBot
- java.lang.Object
-
- org.telegram.telegrambots.meta.bots.AbsSender
-
- org.telegram.telegrambots.bots.DefaultAbsSender
-
- org.telegram.telegrambots.bots.TelegramLongPollingBot
-
- com.github.unafraid.telegrambot.bots.AbstractTelegramBot
-
- com.github.unafraid.telegrambot.bots.DefaultTelegramBot
-
- All Implemented Interfaces:
org.telegram.telegrambots.meta.generics.LongPollingBot
public class DefaultTelegramBot extends AbstractTelegramBot
Default Telegram bot implementation, handles all updates and sends notification to registered handlers.
-
-
Constructor Summary
Constructors Constructor Description DefaultTelegramBot(java.lang.String token, java.lang.String username)
-
Method Summary
-
Methods inherited from class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
addHandler, getAccessLevelValidator, getAvailableHandlersForUser, getBotToken, getBotUsername, getHandler, getHandlers, onUpdateReceived, processText, removeHandler, setAccessLevelValidator, validateAccessLevel
-
Methods inherited from class org.telegram.telegrambots.bots.TelegramLongPollingBot
clearWebhook, onClosing
-
Methods inherited from class org.telegram.telegrambots.bots.DefaultAbsSender
downloadFile, downloadFile, downloadFile, downloadFile, downloadFileAsStream, downloadFileAsStream, downloadFileAsync, downloadFileAsync, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, getBaseUrl, getOptions, sendApiMethod, sendApiMethodAsync
-
Methods inherited from class org.telegram.telegrambots.meta.bots.AbsSender
execute, executeAsync, getMe, getMeAsync, getWebhookInfo, getWebhookInfoAsync
-
-