Skip navigation links
A B C D E G H I N O R S T U V W 

A

ApiContextInitializer - Class in org.telegram.telegrambots
 

B

build(DefaultBotOptions) - Static method in class org.telegram.telegrambots.facilities.TelegramHttpClientBuilder
 
build() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
Builds a new instance of ExponentialBackOff.
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

DEFAULT_INITIAL_INTERVAL_MILLIS - Static variable in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
The default initial interval value in milliseconds (0.5 seconds).
DEFAULT_MAX_ELAPSED_TIME_MILLIS - Static variable in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
The default maximum elapsed time in milliseconds (60 minutes).
DEFAULT_MAX_INTERVAL_MILLIS - Static variable in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
The default maximum back off time in milliseconds (15 minutes).
DEFAULT_MULTIPLIER - Static variable in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
The default multiplier value (1.5 which is 50% increase per back off).
DEFAULT_RANDOMIZATION_FACTOR - Static variable in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
The default randomization factor (0.5 which results in a random period ranging between 50% below and 50% above the retry interval).
DefaultAbsSender - Class in org.telegram.telegrambots.bots
 
DefaultAbsSender(DefaultBotOptions) - 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
 
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(File) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
downloadFileAsync(String, DownloadFileCallback<String>) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
downloadFileAsync(File, DownloadFileCallback<File>) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 

E

exe - Variable in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendDocument) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendPhoto) - 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(SendSticker) - 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 (https://core.telegram.org/bots/api#sendaudio)
execute(SendVoice) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
Sends a voice note using Send Voice method (https://core.telegram.org/bots/api#sendvoice) For this to work, your audio must be in an .ogg file encoded with OPUS
execute(SetChatPhoto) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(SendMediaGroup) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(AddStickerToSet) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
execute(CreateNewStickerSet) - 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
 
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() - Constructor for class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
Creates an instance of ExponentialBackOffPolicy using default values.
ExponentialBackOff(ExponentialBackOff.Builder) - Constructor for class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
 
ExponentialBackOff.Builder - Class in org.telegram.telegrambots.updatesreceivers
Builder for ExponentialBackOff.

G

getAllowedUpdates() - 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
Returns the token of the bot to be able to perform Telegram Api Requests
getCurrentIntervalMillis() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
Returns the current retry interval in milliseconds.
getElapsedTimeMillis() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
Returns the elapsed time in milliseconds since an ExponentialBackOff instance is created and is reset when ExponentialBackOff.reset() is called.
getExponentialBackOff() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getHttpContext() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getInitialIntervalMillis() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
Returns the initial retry interval in milliseconds.
getInitialIntervalMillis() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
Returns the initial retry interval in milliseconds.
getMaxElapsedTimeMillis() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
Returns the maximum elapsed time in milliseconds.
getMaxElapsedTimeMillis() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
Returns the maximum elapsed time in milliseconds.
getMaxIntervalMillis() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
Returns the maximum value of the back off period in milliseconds.
getMaxIntervalMillis() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
Returns the maximum value of the back off period in milliseconds.
getMaxThreads() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getMaxWebhookConnections() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getMultiplier() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
Returns the value to multiply the current interval with for each retry attempt.
getMultiplier() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
Returns the value to multiply the current interval with for each retry attempt.
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
 
getRandomizationFactor() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
Returns the randomization factor to use for creating a range around the retry interval.
getRandomizationFactor() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff
Returns the randomization factor to use for creating a range around the retry interval.
getRequestConfig() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getUpdates() - Method in interface org.telegram.telegrambots.updatesreceivers.DefaultBotSession.UpdatesSupplier
 

H

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

init() - Static method in class org.telegram.telegrambots.ApiContextInitializer
 
isRunning() - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 

N

nextBackOffMillis() - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff

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.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
 
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, Callback) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
setAllowedUpdates(List<String>) - 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
 
setExponentialBackOff(ExponentialBackOff) - 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
Sets the initial retry interval in milliseconds.
setInternalUrl(String) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultWebhook
 
setKeyStore(String, String) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultWebhook
 
setMaxElapsedTimeMillis(int) - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
Sets the maximum elapsed time in milliseconds.
setMaxIntervalMillis(int) - Method in class org.telegram.telegrambots.updatesreceivers.ExponentialBackOff.Builder
Sets the maximum value of the back off period in milliseconds.
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
Sets the value to multiply the current interval with for each retry attempt.
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
Sets the randomization factor to use for creating a range around the retry interval.
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(String, String) - Method in class org.telegram.telegrambots.bots.TelegramWebhookBot
 
setWebhook(DefaultAbsSender, String, String) - Static method in class org.telegram.telegrambots.util.WebhookUtils
 
SOCKET_TIMEOUT - Static variable in class org.telegram.telegrambots.Constants
 
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
 
stop() - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 

T

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
 
TelegramLongPollingBot(DefaultBotOptions) - Constructor for class org.telegram.telegrambots.bots.TelegramLongPollingBot
 
TelegramWebhookBot - Class in org.telegram.telegrambots.bots
 
TelegramWebhookBot() - Constructor for class org.telegram.telegrambots.bots.TelegramWebhookBot
 
TelegramWebhookBot(DefaultBotOptions) - Constructor for class org.telegram.telegrambots.bots.TelegramWebhookBot
 
testReceived(String) - Method in class org.telegram.telegrambots.updatesreceivers.RestApi
 

U

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

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

WebhookUtils - Class in org.telegram.telegrambots.util
 
A B C D E G H I N O R S T U V W 
Skip navigation links

Copyright © 2018. All rights reserved.