Index

B C D E G H I N O R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

B

build() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
Builds a new instance of ExponentialBackOff.
build(DefaultBotOptions) - Static method in class org.telegram.telegrambots.facilities.TelegramHttpClientBuilder
 
Builder() - Constructor for class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
 

C

clearWebhook() - Method in class org.telegram.telegrambots.bots.TelegramLongPollingBot
 
clearWebhook(DefaultAbsSender) - Static method in class org.telegram.telegrambots.util.WebhookUtils
 
connectSocket(int, Socket, HttpHost, InetSocketAddress, InetSocketAddress, HttpContext) - Method in class org.telegram.telegrambots.facilities.proxysocketfactorys.HttpConnectionSocketFactory
 
connectSocket(int, Socket, HttpHost, InetSocketAddress, InetSocketAddress, HttpContext) - Method in class org.telegram.telegrambots.facilities.proxysocketfactorys.HttpSSLConnectionSocketFactory
 
connectSocket(int, Socket, HttpHost, InetSocketAddress, InetSocketAddress, HttpContext) - Method in class org.telegram.telegrambots.facilities.proxysocketfactorys.SocksConnectionSocketFactory
 
connectSocket(int, Socket, HttpHost, InetSocketAddress, InetSocketAddress, HttpContext) - Method in class org.telegram.telegrambots.facilities.proxysocketfactorys.SocksSSLConnectionSocketFactory
 
Constants - Class in org.telegram.telegrambots
 
Constants() - Constructor for class org.telegram.telegrambots.Constants
 
createSocket(HttpContext) - Method in class org.telegram.telegrambots.facilities.proxysocketfactorys.HttpConnectionSocketFactory
 
createSocket(HttpContext) - Method in class org.telegram.telegrambots.facilities.proxysocketfactorys.HttpSSLConnectionSocketFactory
 
createSocket(HttpContext) - Method in class org.telegram.telegrambots.facilities.proxysocketfactorys.SocksConnectionSocketFactory
 
createSocket(HttpContext) - Method in class org.telegram.telegrambots.facilities.proxysocketfactorys.SocksSSLConnectionSocketFactory
 

D

DefaultAbsSender - Class in org.telegram.telegrambots.bots
 
DefaultAbsSender(DefaultBotOptions) - Constructor for class org.telegram.telegrambots.bots.DefaultAbsSender
Deprecated.
Overwriting the getBotToken() method is deprecated. Use the constructor instead
DefaultAbsSender(DefaultBotOptions, String) - Constructor for class org.telegram.telegrambots.bots.DefaultAbsSender
 
DefaultBotOptions - Class in org.telegram.telegrambots.bots
 
DefaultBotOptions() - Constructor for class org.telegram.telegrambots.bots.DefaultBotOptions
 
DefaultBotOptions.ProxyType - Enum in org.telegram.telegrambots.bots
 
DefaultBotSession - Class in org.telegram.telegrambots.updatesreceivers
 
DefaultBotSession() - Constructor for class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 
DefaultBotSession.UpdatesSupplier - Interface in org.telegram.telegrambots.updatesreceivers
 
DefaultExceptionMapper - Class in org.telegram.telegrambots.updatesreceivers
Prints exceptions in webhook bots to stderr
DefaultExceptionMapper() - Constructor for class org.telegram.telegrambots.updatesreceivers.DefaultExceptionMapper
 
DefaultWebhook - Class in org.telegram.telegrambots.updatesreceivers
 
DefaultWebhook() - Constructor for class org.telegram.telegrambots.updatesreceivers.DefaultWebhook
 
downloadFile(String) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
downloadFile(String) - Method in class org.telegram.telegrambots.facilities.filedownloader.TelegramFileDownloader
 
downloadFile(String, File) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
downloadFile(String, File) - Method in class org.telegram.telegrambots.facilities.filedownloader.TelegramFileDownloader
 
downloadFile(File) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
downloadFile(File) - Method in class org.telegram.telegrambots.facilities.filedownloader.TelegramFileDownloader
 
downloadFile(File, File) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
downloadFile(File, File) - Method in class org.telegram.telegrambots.facilities.filedownloader.TelegramFileDownloader
 
downloadFileAsStream(String) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
downloadFileAsStream(String) - Method in class org.telegram.telegrambots.facilities.filedownloader.TelegramFileDownloader
 
downloadFileAsStream(File) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
downloadFileAsStream(File) - Method in class org.telegram.telegrambots.facilities.filedownloader.TelegramFileDownloader
 
downloadFileAsync(String, DownloadFileCallback<String>) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
downloadFileAsync(String, DownloadFileCallback<String>) - Method in class org.telegram.telegrambots.facilities.filedownloader.TelegramFileDownloader
 
downloadFileAsync(File, DownloadFileCallback<File>) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
downloadFileAsync(File, DownloadFileCallback<File>) - Method in class org.telegram.telegrambots.facilities.filedownloader.TelegramFileDownloader
 
DownloadFileException - Exception in org.telegram.telegrambots.facilities.filedownloader
Runtime Exception to wrap Exceptions thrown during file download
DownloadFileException(String, Throwable) - Constructor for exception org.telegram.telegrambots.facilities.filedownloader.DownloadFileException
 

E

exe - Variable in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SetChatPhoto) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendAnimation) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendAudio) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
Sends a file using Send Audio method (sendAudio)
execute(SendDocument) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendMediaGroup) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendPhoto) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendSticker) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendVideo) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendVideoNote) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendVoice) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
Sends a voice note using Send Voice method (sendVoice) For this to work, your audio must be in an .ogg file encoded with OPUS
execute(AddStickerToSet) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(CreateNewStickerSet) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SetStickerSetThumb) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(UploadStickerFile) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(EditMessageMedia) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SetChatPhoto) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SendAnimation) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SendAudio) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SendDocument) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SendMediaGroup) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SendPhoto) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SendSticker) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SendVideo) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SendVideoNote) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SendVoice) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(AddStickerToSet) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(CreateNewStickerSet) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(SetStickerSetThumb) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(UploadStickerFile) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
executeAsync(EditMessageMedia) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
ExponentialBackOff - Class in org.telegram.telegrambots.updatesreceivers
Implementation of BackOff that increases the back off period for each retry attempt using a randomization function that grows exponentially.
ExponentialBackOff.Builder - Class in org.telegram.telegrambots.updatesreceivers
Builder for ExponentialBackOff.

G

getAllowedUpdates() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getBackOff() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getBaseUrl() - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
getBaseUrl() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getBotToken() - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
Deprecated.
Overriding this method is deprecated. Pass to constructor instead
getGetUpdatesLimit() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getGetUpdatesTimeout() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getHttpContext() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getMaxThreads() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getMaxWebhookConnections() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getOptions() - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
getProxyHost() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getProxyPort() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getProxyType() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getRequestConfig() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getUpdates() - Method in interface org.telegram.telegrambots.updatesreceivers.DefaultBotSession.UpdatesSupplier
 

H

HTTP - Enum constant in enum org.telegram.telegrambots.bots.DefaultBotOptions.ProxyType
 
HttpConnectionSocketFactory - Class in org.telegram.telegrambots.facilities.proxysocketfactorys
 
HttpConnectionSocketFactory() - Constructor for class org.telegram.telegrambots.facilities.proxysocketfactorys.HttpConnectionSocketFactory
 
HttpSSLConnectionSocketFactory - Class in org.telegram.telegrambots.facilities.proxysocketfactorys
 
HttpSSLConnectionSocketFactory(SSLContext) - Constructor for class org.telegram.telegrambots.facilities.proxysocketfactorys.HttpSSLConnectionSocketFactory
 

I

isRunning() - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 

N

nextBackOffMillis() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
NO_PROXY - Enum constant in enum org.telegram.telegrambots.bots.DefaultBotOptions.ProxyType
 

O

onClosing() - Method in class org.telegram.telegrambots.bots.TelegramLongPollingBot
 
org.telegram.telegrambots - package org.telegram.telegrambots
 
org.telegram.telegrambots.bots - package org.telegram.telegrambots.bots
 
org.telegram.telegrambots.facilities - package org.telegram.telegrambots.facilities
 
org.telegram.telegrambots.facilities.filedownloader - package org.telegram.telegrambots.facilities.filedownloader
 
org.telegram.telegrambots.facilities.proxysocketfactorys - package org.telegram.telegrambots.facilities.proxysocketfactorys
 
org.telegram.telegrambots.updatesreceivers - package org.telegram.telegrambots.updatesreceivers
 
org.telegram.telegrambots.util - package org.telegram.telegrambots.util
 

R

registerCallback(WebhookBot) - Method in class org.telegram.telegrambots.updatesreceivers.RestApi
 
registerWebhook(WebhookBot) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultWebhook
 
registerWebhook(WebhookBot) - Method in class org.telegram.telegrambots.updatesreceivers.ServerlessWebhook
 
reset() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
Sets the interval back to the initial retry interval and restarts the timer.
RestApi - Class in org.telegram.telegrambots.updatesreceivers
 
RestApi() - Constructor for class org.telegram.telegrambots.updatesreceivers.RestApi
 

S

sendApiMethod(Method) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
sendApiMethodAsync(Method) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
sendApiMethodAsync(Method, Callback) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
ServerlessWebhook - Class in org.telegram.telegrambots.updatesreceivers
 
ServerlessWebhook() - Constructor for class org.telegram.telegrambots.updatesreceivers.ServerlessWebhook
 
setAllowedUpdates(List<String>) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setBackOff(BackOff) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setBaseUrl(String) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setCallback(LongPollingBot) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 
setGetUpdatesLimit(int) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setGetUpdatesTimeout(int) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setHttpContext(HttpContext) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setInitialIntervalMillis(int) - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
 
setInternalUrl(String) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultWebhook
 
setInternalUrl(String) - Method in class org.telegram.telegrambots.updatesreceivers.ServerlessWebhook
 
setKeyStore(String, String) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultWebhook
 
setKeyStore(String, String) - Method in class org.telegram.telegrambots.updatesreceivers.ServerlessWebhook
 
setMaxElapsedTimeMillis(int) - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
 
setMaxIntervalMillis(int) - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
 
setMaxThreads(int) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setMaxWebhookConnections(Integer) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setMultiplier(double) - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
 
setOptions(BotOptions) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 
setProxyHost(String) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setProxyPort(int) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setProxyType(DefaultBotOptions.ProxyType) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setRandomizationFactor(double) - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
 
setRequestConfig(RequestConfig) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setToken(String) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 
setUpdatesSupplier(DefaultBotSession.UpdatesSupplier) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 
setWebhook(DefaultAbsSender, WebhookBot, SetWebhook) - Static method in class org.telegram.telegrambots.util.WebhookUtils
Set webhook address to receive updates
setWebhook(SetWebhook) - Method in class org.telegram.telegrambots.bots.TelegramWebhookBot
 
SOCKET_TIMEOUT - Static variable in class org.telegram.telegrambots.Constants
 
SOCKS4 - Enum constant in enum org.telegram.telegrambots.bots.DefaultBotOptions.ProxyType
 
SOCKS5 - Enum constant in enum org.telegram.telegrambots.bots.DefaultBotOptions.ProxyType
 
SocksConnectionSocketFactory - Class in org.telegram.telegrambots.facilities.proxysocketfactorys
 
SocksConnectionSocketFactory() - Constructor for class org.telegram.telegrambots.facilities.proxysocketfactorys.SocksConnectionSocketFactory
 
SocksSSLConnectionSocketFactory - Class in org.telegram.telegrambots.facilities.proxysocketfactorys
 
SocksSSLConnectionSocketFactory(SSLContext) - Constructor for class org.telegram.telegrambots.facilities.proxysocketfactorys.SocksSSLConnectionSocketFactory
 
start() - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 
startServer() - Method in class org.telegram.telegrambots.updatesreceivers.DefaultWebhook
 
startServer() - Method in class org.telegram.telegrambots.updatesreceivers.ServerlessWebhook
 
stop() - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 

T

TelegramFileDownloader - Class in org.telegram.telegrambots.facilities.filedownloader
Wraps the file downloading code into one class.
TelegramFileDownloader(Supplier<String>) - Constructor for class org.telegram.telegrambots.facilities.filedownloader.TelegramFileDownloader
 
TelegramFileDownloader(HttpClient, Supplier<String>) - Constructor for class org.telegram.telegrambots.facilities.filedownloader.TelegramFileDownloader
 
TelegramHttpClientBuilder - Class in org.telegram.telegrambots.facilities
Created by bvn13 on 17.04.2018.
TelegramHttpClientBuilder() - Constructor for class org.telegram.telegrambots.facilities.TelegramHttpClientBuilder
 
TelegramLongPollingBot - Class in org.telegram.telegrambots.bots
 
TelegramLongPollingBot() - Constructor for class org.telegram.telegrambots.bots.TelegramLongPollingBot
Deprecated.
Overwriting the getBotToken() method is deprecated. Use the constructor instead
TelegramLongPollingBot(String) - Constructor for class org.telegram.telegrambots.bots.TelegramLongPollingBot
 
TelegramLongPollingBot(DefaultBotOptions) - Constructor for class org.telegram.telegrambots.bots.TelegramLongPollingBot
Deprecated.
Overwriting the getBotToken() method is deprecated. Use the constructor instead
TelegramLongPollingBot(DefaultBotOptions, String) - Constructor for class org.telegram.telegrambots.bots.TelegramLongPollingBot
 
TelegramWebhookBot - Class in org.telegram.telegrambots.bots
 
TelegramWebhookBot() - Constructor for class org.telegram.telegrambots.bots.TelegramWebhookBot
Deprecated.
Overwriting the getBotToken() method is deprecated. Use the constructor instead
TelegramWebhookBot(String) - Constructor for class org.telegram.telegrambots.bots.TelegramWebhookBot
 
TelegramWebhookBot(DefaultBotOptions) - Constructor for class org.telegram.telegrambots.bots.TelegramWebhookBot
Deprecated.
Overwriting the getBotToken() method is deprecated. Use the constructor instead
TelegramWebhookBot(DefaultBotOptions, String) - Constructor for class org.telegram.telegrambots.bots.TelegramWebhookBot
 
testReceived(String) - Method in class org.telegram.telegrambots.updatesreceivers.RestApi
 
toResponse(Throwable) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultExceptionMapper
 

U

updateReceived(String, Update) - Method in class org.telegram.telegrambots.updatesreceivers.RestApi
 
updateReceived(String, Update) - Method in class org.telegram.telegrambots.updatesreceivers.ServerlessWebhook
 

V

valueOf(String) - Static method in enum org.telegram.telegrambots.bots.DefaultBotOptions.ProxyType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.telegram.telegrambots.bots.DefaultBotOptions.ProxyType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WEBHOOK_URL_PATH - Static variable in class org.telegram.telegrambots.Constants
 
WebhookUtils - Class in org.telegram.telegrambots.util
 
B C D E G H I N O R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form