Skip navigation links
A B C D E F G I L O P R S T U 

A

ApiContextInitializer - Class in org.telegram.telegrambots
 

B

BotCommand - Class in org.telegram.telegrambots.bots.commands
Representation of a command, which can be executed
BotCommand(String, String) - Constructor for class org.telegram.telegrambots.bots.commands.BotCommand
Construct a command

C

clearWebhook() - Method in class org.telegram.telegrambots.bots.TelegramLongPollingBot
 
close() - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 
COMMAND_INIT_CHARACTER - Static variable in class org.telegram.telegrambots.bots.commands.BotCommand
 
COMMAND_PARAMETER_SEPARATOR - Static variable in class org.telegram.telegrambots.bots.commands.BotCommand
 
CommandRegistry - Class in org.telegram.telegrambots.bots.commands
This class manages all the commands for a bot.
CommandRegistry(boolean, String) - Constructor for class org.telegram.telegrambots.bots.commands.CommandRegistry
Creates a Command registry
Constants - Class in org.telegram.telegrambots
 
Constants() - Constructor for class org.telegram.telegrambots.Constants
 

D

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
 
deregister(BotCommand) - Method in class org.telegram.telegrambots.bots.commands.CommandRegistry
 
deregister(BotCommand) - Method in interface org.telegram.telegrambots.bots.commands.ICommandRegistry
deregister a command
deregister(BotCommand) - Method in class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
 
deregisterAll(BotCommand...) - Method in class org.telegram.telegrambots.bots.commands.CommandRegistry
 
deregisterAll(BotCommand...) - Method in interface org.telegram.telegrambots.bots.commands.ICommandRegistry
deregister multiple commands
deregisterAll(BotCommand...) - Method in class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
 
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

execute(AbsSender, User, Chat, String[]) - Method in class org.telegram.telegrambots.bots.commands.BotCommand
Execute the command
executeCommand(AbsSender, Message) - Method in class org.telegram.telegrambots.bots.commands.CommandRegistry
Executes a command action if the command is registered.

F

filter(Message) - Method in class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
Override this function in your bot implementation to filter messages with commands For example, if you want to prevent commands execution incoming from group chat: # # return !message.getChat().isGroupChat(); #

G

getBotToken() - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
Returns the token of the bot to be able to perform Telegram Api Requests
getCommandIdentifier() - Method in class org.telegram.telegrambots.bots.commands.BotCommand
Get the identifier of this command
getDescription() - Method in class org.telegram.telegrambots.bots.commands.BotCommand
Get the description of this command
getMaxThreads() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
getOptions() - Method in class org.telegram.telegrambots.bots.DefaultAbsSender
 
getRegisteredCommand(String) - Method in class org.telegram.telegrambots.bots.commands.CommandRegistry
 
getRegisteredCommand(String) - Method in interface org.telegram.telegrambots.bots.commands.ICommandRegistry
get registered command
getRegisteredCommand(String) - Method in class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
 
getRegisteredCommands() - Method in class org.telegram.telegrambots.bots.commands.CommandRegistry
 
getRegisteredCommands() - Method in interface org.telegram.telegrambots.bots.commands.ICommandRegistry
get a collection of all registered commands
getRegisteredCommands() - Method in class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
 
getRequestConfig() - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 

I

ICommandRegistry - Interface in org.telegram.telegrambots.bots.commands
This Interface represents the gateway for registering and deregistering commands.
init() - Static method in class org.telegram.telegrambots.ApiContextInitializer
 
isRunning() - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 

L

LOGTAG - Static variable in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 

O

onUpdateReceived(Update) - Method in class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
 
org.telegram.telegrambots - package org.telegram.telegrambots
 
org.telegram.telegrambots.bots - package org.telegram.telegrambots.bots
 
org.telegram.telegrambots.bots.commands - package org.telegram.telegrambots.bots.commands
 
org.telegram.telegrambots.updatesreceivers - package org.telegram.telegrambots.updatesreceivers
 

P

processNonCommandUpdate(Update) - Method in class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
Process all updates, that are not commands.

R

register(BotCommand) - Method in class org.telegram.telegrambots.bots.commands.CommandRegistry
 
register(BotCommand) - Method in interface org.telegram.telegrambots.bots.commands.ICommandRegistry
register a command
register(BotCommand) - Method in class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
 
registerAll(BotCommand...) - Method in class org.telegram.telegrambots.bots.commands.CommandRegistry
 
registerAll(BotCommand...) - Method in interface org.telegram.telegrambots.bots.commands.ICommandRegistry
register multiple commands
registerAll(BotCommand...) - Method in class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
 
registerCallback(WebhookBot) - Method in class org.telegram.telegrambots.updatesreceivers.RestApi
 
registerDefaultAction(BiConsumer<AbsSender, Message>) - Method in class org.telegram.telegrambots.bots.commands.CommandRegistry
 
registerDefaultAction(BiConsumer<AbsSender, Message>) - Method in interface org.telegram.telegrambots.bots.commands.ICommandRegistry
Register a default action when there is no command register that match the message sent
registerDefaultAction(BiConsumer<AbsSender, Message>) - Method in class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
 
registerWebhook(WebhookBot) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultWebhook
 
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
 
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
setCallback(LongPollingBot) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 
setInternalUrl(String) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultWebhook
 
setKeyStore(String, String) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultWebhook
 
setMaxThreads(int) - Method in class org.telegram.telegrambots.bots.DefaultBotOptions
 
setOptions(BotOptions) - Method in class org.telegram.telegrambots.updatesreceivers.DefaultBotSession
 
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
 

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
 
TelegramLongPollingCommandBot - Class in org.telegram.telegrambots.bots
This class adds command functionality to the TelegramLongPollingBot
TelegramLongPollingCommandBot() - Constructor for class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
Creates a TelegramLongPollingCommandBot using default options Use ICommandRegistry's methods on this bot to register commands
TelegramLongPollingCommandBot(DefaultBotOptions) - Constructor for class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
Creates a TelegramLongPollingCommandBot with custom options and allowing commands with usernames Use ICommandRegistry's methods on this bot to register commands
TelegramLongPollingCommandBot(DefaultBotOptions, boolean) - Constructor for class org.telegram.telegrambots.bots.TelegramLongPollingCommandBot
Creates a TelegramLongPollingCommandBot Use ICommandRegistry's methods on this bot to register commands
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
 
toString() - Method in class org.telegram.telegrambots.bots.commands.BotCommand
 

U

updateReceived(String, Update) - Method in class org.telegram.telegrambots.updatesreceivers.RestApi
 
A B C D E F G I L O P R S T U 
Skip navigation links

Copyright © 2016. All rights reserved.