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

A

ApiContextInitializer - Class in org.telegram.telegrambots
 

B

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
 
Constants - Class in org.telegram.telegrambots
 
Constants() - Constructor for class org.telegram.telegrambots.Constants
 

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
 
DefaultBotSession - Class in org.telegram.telegrambots.updatesreceivers
 
DefaultBotSession() - Constructor for class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 
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

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
 
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
 
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
 

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

org.telegram.telegrambots - package org.telegram.telegrambots
 
org.telegram.telegrambots.bots - package org.telegram.telegrambots.bots
 
org.telegram.telegrambots.updatesreceivers - package org.telegram.telegrambots.updatesreceivers
 

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
 
sendAudio(SendAudio) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
Sends a file using Send Audio method (https://core.telegram.org/bots/api#sendaudio)
sendDocument(SendDocument) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
sendPhoto(SendPhoto) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
sendSticker(SendSticker) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
sendVideo(SendVideo) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
sendVideoNote(SendVideoNote) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
sendVoice(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
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
 
setChatPhoto(SetChatPhoto) - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
setExponentialBackOff(ExponentialBackOff) - 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
 
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
 
setWebhook(String, String) - Method in class org.telegram.telegrambots.bots.TelegramWebhookBot
 
SOCKET_TIMEOUT - Static variable in class org.telegram.telegrambots.Constants
 
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

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
 
A B C D E G I N O R S T U 
Skip navigation links

Copyright © 2017. All rights reserved.