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
public class SpringWebhookBot.TestSpringWebhookBot extends 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
Constructors Constructor Description TestSpringWebhookBot(DefaultBotOptions options, org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook)TestSpringWebhookBot(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBotPath()StringgetBotToken()StringgetBotUsername()org.telegram.telegrambots.meta.api.methods.BotApiMethodonWebhookUpdateReceived(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, getOptions, sendApiMethod, sendApiMethodAsync, sendApiMethodAsync
-
Methods inherited from class org.telegram.telegrambots.meta.bots.AbsSender
execute, executeAsync, executeAsync, getMe, getMeAsync, getMeAsync, getWebhookInfo, getWebhookInfoAsync, getWebhookInfoAsync
-
-
-
-
Constructor Detail
-
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 Detail
-
getBotUsername
public String getBotUsername()
-
getBotToken
public String getBotToken()
- Specified by:
getBotTokenin interfaceorg.telegram.telegrambots.meta.generics.TelegramBot- Specified by:
getBotTokenin classDefaultAbsSender
-
onWebhookUpdateReceived
public org.telegram.telegrambots.meta.api.methods.BotApiMethod onWebhookUpdateReceived(org.telegram.telegrambots.meta.api.objects.Update update)
-
getBotPath
public String getBotPath()
-
-