Class SpringWebhookBot.TestSpringWebhookBot
java.lang.Object
org.telegram.telegrambots.meta.bots.AbsSender
org.telegram.telegrambots.bots.DefaultAbsSender
org.telegram.telegrambots.bots.TelegramWebhookBot
org.telegram.telegrambots.starter.SpringWebhookBot
org.telegram.telegrambots.starter.SpringWebhookBot.TestSpringWebhookBot
- All Implemented Interfaces:
org.telegram.telegrambots.meta.generics.TelegramBot
,org.telegram.telegrambots.meta.generics.WebhookBot
- Enclosing class:
- SpringWebhookBot
-
Nested Class Summary
Nested classes/interfaces inherited from class org.telegram.telegrambots.starter.SpringWebhookBot
SpringWebhookBot.TestSpringWebhookBot
-
Field Summary
Fields inherited from class org.telegram.telegrambots.bots.DefaultAbsSender
exe
-
Constructor Summary
ConstructorDescriptionTestSpringWebhookBot
(DefaultBotOptions options, org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook) TestSpringWebhookBot
(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook) -
Method Summary
Modifier and TypeMethodDescriptionorg.telegram.telegrambots.meta.api.methods.BotApiMethod
onWebhookUpdateReceived
(org.telegram.telegrambots.meta.api.objects.Update update) Methods inherited from class org.telegram.telegrambots.starter.SpringWebhookBot
getSetWebhook
Methods inherited from class org.telegram.telegrambots.bots.TelegramWebhookBot
setWebhook
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, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, getBaseUrl, getBotToken, getOptions, sendApiMethod, sendApiMethodAsync, sendApiMethodAsync
Methods inherited from class org.telegram.telegrambots.meta.bots.AbsSender
execute, executeAsync, executeAsync, getMe, getMeAsync, getMeAsync, getWebhookInfo, getWebhookInfoAsync, getWebhookInfoAsync
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.telegram.telegrambots.meta.generics.TelegramBot
getBotToken, onRegister
-
Constructor Details
-
TestSpringWebhookBot
public TestSpringWebhookBot(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook) -
TestSpringWebhookBot
public TestSpringWebhookBot(DefaultBotOptions options, org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook)
-
-
Method Details
-
getBotUsername
-
onWebhookUpdateReceived
public org.telegram.telegrambots.meta.api.methods.BotApiMethod onWebhookUpdateReceived(org.telegram.telegrambots.meta.api.objects.Update update) -
getBotPath
-