Class SpringWebhookBot
java.lang.Object
org.telegram.telegrambots.meta.bots.AbsSender
org.telegram.telegrambots.bots.DefaultAbsSender
org.telegram.telegrambots.bots.TelegramWebhookBot
org.telegram.telegrambots.starter.SpringWebhookBot
- All Implemented Interfaces:
org.telegram.telegrambots.meta.generics.TelegramBot,org.telegram.telegrambots.meta.generics.WebhookBot
- Direct Known Subclasses:
SpringWebhookBot.TestSpringWebhookBot
- Version:
- 1.0
- Author:
- Ruben Bermudez
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.telegram.telegrambots.bots.DefaultAbsSender
exe -
Constructor Summary
ConstructorsConstructorDescriptionSpringWebhookBot(DefaultBotOptions options, org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook) Deprecated.Overwriting the getBotToken() method is deprecated.SpringWebhookBot(DefaultBotOptions options, org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook, String botToken) SpringWebhookBot(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook) Deprecated.Overwriting the getBotToken() method is deprecated.SpringWebhookBot(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook, String botToken) -
Method Summary
Modifier and TypeMethodDescriptionorg.telegram.telegrambots.meta.api.methods.updates.SetWebhookMethods inherited from class org.telegram.telegrambots.bots.TelegramWebhookBot
setWebhookMethods 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, sendApiMethodAsyncMethods inherited from class org.telegram.telegrambots.meta.bots.AbsSender
execute, executeAsync, executeAsync, getMe, getMeAsync, getMeAsync, getWebhookInfo, getWebhookInfoAsync, getWebhookInfoAsyncMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.telegram.telegrambots.meta.generics.TelegramBot
getBotToken, getBotUsername, onRegisterMethods inherited from interface org.telegram.telegrambots.meta.generics.WebhookBot
getBotPath, onWebhookUpdateReceived
-
Constructor Details
-
SpringWebhookBot
@Deprecated public SpringWebhookBot(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook) Deprecated.Overwriting the getBotToken() method is deprecated. Use the constructor insteadIf this is used getBotToken has to be overridden in order to return the bot token! -
SpringWebhookBot
@Deprecated public SpringWebhookBot(DefaultBotOptions options, org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook) Deprecated.Overwriting the getBotToken() method is deprecated. Use the constructor insteadIf this is used getBotToken has to be overridden in order to return the bot token! -
SpringWebhookBot
public SpringWebhookBot(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook, String botToken) -
SpringWebhookBot
public SpringWebhookBot(DefaultBotOptions options, org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook, String botToken)
-
-
Method Details
-
getSetWebhook
public org.telegram.telegrambots.meta.api.methods.updates.SetWebhook getSetWebhook()
-