A B C D E G I M O P R S V 
All Classes All Packages

A

AbstractTelegramBot - Class in com.github.unafraid.telegrambot.bots
 
AbstractTelegramBot(String, String) - Constructor for class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
 
addHandler(ITelegramHandler) - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
Registers ICommandHandler instance into a collection of handlers
andThen(IThrowableFunction<? super R, ? extends V>) - Method in interface com.github.unafraid.telegrambot.util.IThrowableFunction
 
apply(T) - Method in interface com.github.unafraid.telegrambot.util.IThrowableFunction
 

B

BotUtil - Class in com.github.unafraid.telegrambot.util
 
BotUtil() - Constructor for class com.github.unafraid.telegrambot.util.BotUtil
 

C

com.github.unafraid.telegrambot.bots - package com.github.unafraid.telegrambot.bots
 
com.github.unafraid.telegrambot.handlers - package com.github.unafraid.telegrambot.handlers
 
com.github.unafraid.telegrambot.util - package com.github.unafraid.telegrambot.util
 
CommonUtil - Class in com.github.unafraid.telegrambot.util
 
CommonUtil() - Constructor for class com.github.unafraid.telegrambot.util.CommonUtil
 
compose(IThrowableFunction<? super V, ? extends T>) - Method in interface com.github.unafraid.telegrambot.util.IThrowableFunction
 

D

DefaultTelegramBot - Class in com.github.unafraid.telegrambot.bots
Default Telegram bot implementation, handles all updates and sends notification to registered handlers.
DefaultTelegramBot(String, String) - Constructor for class com.github.unafraid.telegrambot.bots.DefaultTelegramBot
 

E

editMessage(T, CallbackQuery, String, boolean, InlineKeyboardMarkup) - Static method in class com.github.unafraid.telegrambot.util.BotUtil
 
editMessage(T, Message, String, boolean, InlineKeyboardMarkup) - Static method in class com.github.unafraid.telegrambot.util.BotUtil
 

G

getAccessLevelValidator() - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
 
getAvailableHandlersForUser(Class<T>, User) - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
Returns a List<T> and verifies for access level if any of the handlers implements ITelegramHandler
getBoolean(String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Return the boolean associated to the key put in parameter ("name")
getBoolean(String, boolean) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Return the boolean associated to the key put in parameter ("name").
getBotToken() - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
 
getBotUsername() - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
 
getByte(String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the byte associated to the key put in parameter ("name").
getByte(String, byte) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the int associated to the key put in parameter ("name").
getCategory() - Method in interface com.github.unafraid.telegrambot.handlers.ICommandHandler
 
getCommand() - Method in interface com.github.unafraid.telegrambot.handlers.ICommandHandler
 
getDescription() - Method in interface com.github.unafraid.telegrambot.handlers.ICommandHandler
 
getDouble(String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the double associated to the key put in parameter ("name").
getDouble(String, float) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the double associated to the key put in parameter ("name").
getEnum(String, Class<T>) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns an enumeration of <T> from the set
getEnum(String, Class<T>, T) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns an enumeration of <T> from the set.
getEnumList(String, Class<T>) - Method in class com.github.unafraid.telegrambot.util.MapUtil
 
getEnumSet(String, Class<T>) - Method in class com.github.unafraid.telegrambot.util.MapUtil
 
getFloat(String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the float associated to the key put in parameter ("name").
getFloat(String, float) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the float associated to the key put in parameter ("name").
getFloatArray(String, String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
 
getHandler(String) - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
 
getHandlers() - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
 
getInt(String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the int associated to the key put in parameter ("name").
getIntArray(String, String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the int[] associated to the key put in parameter ("name").
getInteger(String, int) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the int associated to the key put in parameter ("name").
getInternalMap() - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the set of values
getList(String, Class<T>) - Method in class com.github.unafraid.telegrambot.util.MapUtil
 
getList(String, Class<T>, List<T>) - Method in class com.github.unafraid.telegrambot.util.MapUtil
 
getLong(String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the long associated to the key put in parameter ("name").
getLong(String, int) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the long associated to the key put in parameter ("name").
getMap(String, Class<K>, Class<V>) - Method in class com.github.unafraid.telegrambot.util.MapUtil
 
getMapOfList(String, Class<K>, Class<V>) - Method in class com.github.unafraid.telegrambot.util.MapUtil
 
getObject(String, Class<A>) - Method in class com.github.unafraid.telegrambot.util.MapUtil
 
getRequiredAccessLevel() - Method in interface com.github.unafraid.telegrambot.handlers.ITelegramHandler
 
getSet(String, Class<T>) - Method in class com.github.unafraid.telegrambot.util.MapUtil
 
getSet(String, Class<T>, Set<T>) - Method in class com.github.unafraid.telegrambot.util.MapUtil
 
getShort(String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the short associated to the key put in parameter ("name").
getShort(String, short) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the short associated to the key put in parameter ("name").
getString(String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the String associated to the key put in parameter ("name").
getString(String, String) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Returns the String associated to the key put in parameter ("name").
getUsage() - Method in interface com.github.unafraid.telegrambot.handlers.ICommandHandler
 

I

IAccessLevelValidator - Interface in com.github.unafraid.telegrambot.handlers
 
ICallbackQueryHandler - Interface in com.github.unafraid.telegrambot.handlers
 
ICancelHandler - Interface in com.github.unafraid.telegrambot.handlers
 
IChosenInlineQueryHandler - Interface in com.github.unafraid.telegrambot.handlers
 
ICommandHandler - Interface in com.github.unafraid.telegrambot.handlers
 
identity() - Static method in interface com.github.unafraid.telegrambot.util.IThrowableFunction
 
IDocumentMessageHandler - Interface in com.github.unafraid.telegrambot.handlers
 
IEditedMessageHandler - Interface in com.github.unafraid.telegrambot.handlers
 
IInlineQueryHandler - Interface in com.github.unafraid.telegrambot.handlers
 
IMessageHandler - Interface in com.github.unafraid.telegrambot.handlers
 
isDigit(String) - Static method in class com.github.unafraid.telegrambot.util.CommonUtil
 
isDouble(String) - Static method in class com.github.unafraid.telegrambot.util.CommonUtil
 
isEnum(String, Class<T>) - Static method in class com.github.unafraid.telegrambot.util.CommonUtil
 
isFloat(String) - Static method in class com.github.unafraid.telegrambot.util.CommonUtil
 
isInteger(String) - Static method in class com.github.unafraid.telegrambot.util.CommonUtil
 
ITelegramHandler - Interface in com.github.unafraid.telegrambot.handlers
 
IThrowableFunction<T,​R> - Interface in com.github.unafraid.telegrambot.util
 

M

MapUtil - Class in com.github.unafraid.telegrambot.util
 
MapUtil() - Constructor for class com.github.unafraid.telegrambot.util.MapUtil
 
MapUtil(Map<String, Object>) - Constructor for class com.github.unafraid.telegrambot.util.MapUtil
 
merge(MapUtil) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Add a set of couple values in the current set

O

onCallbackQuery(AbstractTelegramBot, Update, CallbackQuery) - Method in interface com.github.unafraid.telegrambot.handlers.ICallbackQueryHandler
Fired whenever bot receives a callback query
onCancel(AbstractTelegramBot, Update, Message) - Method in interface com.github.unafraid.telegrambot.handlers.ICancelHandler
Fired whenever user types in /cancel command to cancel the current action
onChosenInlineQuery(AbstractTelegramBot, Update, ChosenInlineQuery) - Method in interface com.github.unafraid.telegrambot.handlers.IChosenInlineQueryHandler
Fired whenever bot receives a callback query
onCommandMessage(AbstractTelegramBot, Update, Message, List<String>) - Method in interface com.github.unafraid.telegrambot.handlers.ICommandHandler
Fired when user types in /command arg0 arg1 arg2..
onDocumentSent(AbstractTelegramBot, Update, Message) - Method in interface com.github.unafraid.telegrambot.handlers.IDocumentMessageHandler
Fired whenever user sends a document
onEditMessage(AbstractTelegramBot, Update, Message) - Method in interface com.github.unafraid.telegrambot.handlers.IEditedMessageHandler
Fired whenever user types anything but a command
onInlineQuery(AbstractTelegramBot, Update, InlineQuery) - Method in interface com.github.unafraid.telegrambot.handlers.IInlineQueryHandler
Fired whenever bot receives a callback query
onMessage(AbstractTelegramBot, Update, Message) - Method in interface com.github.unafraid.telegrambot.handlers.IMessageHandler
Fired whenever user types anything but a command
onUpdateReceived(Update) - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
 

P

parseInt(String, int) - Static method in class com.github.unafraid.telegrambot.util.CommonUtil
 
processText(String) - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
 
put(String, Object) - Method in class com.github.unafraid.telegrambot.util.MapUtil
Puts key-value pair inside the internal map, replacing previously existing key

R

removeHandler(ITelegramHandler) - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
Removes ICommandHandler instance from the collection of handlers

S

sendAction(T, Message, ActionType) - Static method in class com.github.unafraid.telegrambot.util.BotUtil
 
sendHtmlMessage(T, Message, String, boolean, ReplyKeyboard) - Static method in class com.github.unafraid.telegrambot.util.BotUtil
 
sendMessage(T, Message, String, boolean, boolean, ReplyKeyboard) - Static method in class com.github.unafraid.telegrambot.util.BotUtil
 
sendUsage(T, Message, ICommandHandler) - Static method in class com.github.unafraid.telegrambot.util.BotUtil
 
setAccessLevelValidator(IAccessLevelValidator) - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
Sets the Access Level Validator instance that will be used for future access level validations

V

validate(ITelegramHandler, User) - Method in interface com.github.unafraid.telegrambot.handlers.IAccessLevelValidator
 
validateAccessLevel(T, User) - Method in class com.github.unafraid.telegrambot.bots.AbstractTelegramBot
Validates access level
A B C D E G I M O P R S V 
All Classes All Packages