A B C D E F G H I L M N O P R S T U V 
All Classes All Packages

A

a() - Method in class org.telegram.abilitybots.api.util.Pair
 
a() - Method in class org.telegram.abilitybots.api.util.Trio
 
abilities() - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
Ability - Class in org.telegram.abilitybots.api.objects
An ability is a fully-fledged bot action that contains all the necessary information to process: A response to a command A post-response to a command A reply to a sequence of actions
ABILITY_BAN_FAIL - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_BAN_SUCCESS - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_CLAIM_FAIL - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_CLAIM_SUCCESS - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_COMMANDS_NOT_FOUND - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_DEMOTE_FAIL - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_DEMOTE_SUCCESS - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_PROMOTE_FAIL - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_PROMOTE_SUCCESS - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_RECOVER_ERROR - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_RECOVER_FAIL - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_RECOVER_MESSAGE - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_RECOVER_SUCCESS - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_UNBAN_FAIL - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
ABILITY_UNBAN_SUCCESS - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
Ability.AbilityBuilder - Class in org.telegram.abilitybots.api.objects
 
AbilityBot - Class in org.telegram.abilitybots.api.bot
The default AbilityBot class implements LongPollingBot.
AbilityBot(String, String) - Constructor for class org.telegram.abilitybots.api.bot.AbilityBot
 
AbilityBot(String, String, DBContext) - Constructor for class org.telegram.abilitybots.api.bot.AbilityBot
 
AbilityBot(String, String, DBContext, AbilityToggle) - Constructor for class org.telegram.abilitybots.api.bot.AbilityBot
 
AbilityBot(String, String, DBContext, AbilityToggle, DefaultBotOptions) - Constructor for class org.telegram.abilitybots.api.bot.AbilityBot
 
AbilityBot(String, String, DBContext, DefaultBotOptions) - Constructor for class org.telegram.abilitybots.api.bot.AbilityBot
 
AbilityBot(String, String, AbilityToggle) - Constructor for class org.telegram.abilitybots.api.bot.AbilityBot
 
AbilityBot(String, String, AbilityToggle, DefaultBotOptions) - Constructor for class org.telegram.abilitybots.api.bot.AbilityBot
 
AbilityBot(String, String, DefaultBotOptions) - Constructor for class org.telegram.abilitybots.api.bot.AbilityBot
 
AbilityExtension - Interface in org.telegram.abilitybots.api.util
An interface to mark a class as an extension.
AbilityMessageCodes - Class in org.telegram.abilitybots.api.util
 
AbilityMessageCodes() - Constructor for class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
AbilityToggle - Interface in org.telegram.abilitybots.api.toggle
This interface can be used to toggle or customize unwanted default abilities by the user.
AbilityUtils - Class in org.telegram.abilitybots.api.util
Helper and utility methods
AbilityWebhookBot - Class in org.telegram.abilitybots.api.bot
A WebhookBot-flavor AbilityBot.
AbilityWebhookBot(String, String, String) - Constructor for class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
AbilityWebhookBot(String, String, String, DBContext) - Constructor for class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
AbilityWebhookBot(String, String, String, DBContext, AbilityToggle) - Constructor for class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
AbilityWebhookBot(String, String, String, DBContext, AbilityToggle, DefaultBotOptions) - Constructor for class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
AbilityWebhookBot(String, String, String, DBContext, DefaultBotOptions) - Constructor for class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
AbilityWebhookBot(String, String, String, AbilityToggle) - Constructor for class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
AbilityWebhookBot(String, String, String, AbilityToggle, DefaultBotOptions) - Constructor for class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
AbilityWebhookBot(String, String, String, DefaultBotOptions) - Constructor for class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
action - Variable in class org.telegram.abilitybots.api.objects.Reply
 
action() - Method in class org.telegram.abilitybots.api.objects.Ability
 
action() - Method in class org.telegram.abilitybots.api.objects.Reply
 
action(Consumer<MessageContext>) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
action(Consumer<Update>) - Method in class org.telegram.abilitybots.api.objects.ReplyFlow.ReplyFlowBuilder
 
actOn(Update) - Method in class org.telegram.abilitybots.api.objects.Reply
 
addStickerToSet(AddStickerToSet) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
addStickerToSet(AddStickerToSet) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
addTag(String) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
 
ADMIN - org.telegram.abilitybots.api.objects.Privacy
A global admin of the bot, regardless of the group the bot is in.
admins() - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
ADMINS - Static variable in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
ALL - org.telegram.abilitybots.api.objects.Locality
Ability would be valid for groups and private user chats
arguments() - Method in class org.telegram.abilitybots.api.objects.MessageContext
If there's no message in the update, then this will an empty array.

B

b() - Method in class org.telegram.abilitybots.api.util.Pair
 
b() - Method in class org.telegram.abilitybots.api.util.Trio
 
backup() - Method in interface org.telegram.abilitybots.api.db.DBContext
Implementations of this method are free to return any object such as XML, JSON, etc...
backup() - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
BACKUP - Static variable in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
backupDB() - Method in class org.telegram.abilitybots.api.bot.DefaultAbilities
This backup ability returns the object defined by DBContext.backup() as a message document.
BackupVar<T> - Class in org.telegram.abilitybots.api.db
 
BAN - Static variable in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
banUser() - Method in class org.telegram.abilitybots.api.bot.DefaultAbilities
Banned users are accumulated in the blacklist.
BareboneToggle - Class in org.telegram.abilitybots.api.toggle
This toggle can be used as-is to turn off ALL the default abilities supplied by the library.
BareboneToggle() - Constructor for class org.telegram.abilitybots.api.toggle.BareboneToggle
 
BaseAbilityBot - Class in org.telegram.abilitybots.api.bot
The father of all ability bots.
BaseAbilityBot(String, String, DBContext, AbilityToggle, DefaultBotOptions) - Constructor for class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
basedOn(Ability) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
blacklist() - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
BLACKLIST - Static variable in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
build() - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
build() - Method in class org.telegram.abilitybots.api.objects.ReplyFlow.ReplyFlowBuilder
 
builder() - Static method in class org.telegram.abilitybots.api.objects.Ability
 
builder(DBContext) - Static method in class org.telegram.abilitybots.api.objects.ReplyFlow
 
builder(DBContext, int) - Static method in class org.telegram.abilitybots.api.objects.ReplyFlow
 

C

c() - Method in class org.telegram.abilitybots.api.util.Trio
 
CALLBACK_QUERY - org.telegram.abilitybots.api.objects.Flag
 
CAPTION - org.telegram.abilitybots.api.objects.Flag
 
CHANNEL_POST - org.telegram.abilitybots.api.objects.Flag
 
chatId() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
CHECK_INPUT_FAIL - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
CHECK_LOCALITY_FAIL - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
CHECK_PRIVACY_FAIL - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
checkGlobalFlags(Update) - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
Test the update against the provided global flags.
CHOSEN_INLINE_QUERY - org.telegram.abilitybots.api.objects.Flag
 
CLAIM - Static variable in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
claimCreator() - Method in class org.telegram.abilitybots.api.bot.DefaultAbilities
Regular users and admins who try to claim the bot will get banned.
clear() - Method in interface org.telegram.abilitybots.api.db.DBContext
Clears the data structures present in the database.
clear() - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
clearWebhook() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 
close() - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
commands() - Method in class org.telegram.abilitybots.api.bot.DefaultAbilities
Default format:
COMMANDS - Static variable in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
commit() - Method in interface org.telegram.abilitybots.api.db.DBContext
Commits the database to its persistent layer.
commit() - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
commitTo(DBContext) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
Commits to DB.
conditions - Variable in class org.telegram.abilitybots.api.objects.Reply
 
conditions() - Method in class org.telegram.abilitybots.api.objects.Reply
 
contains(String) - Method in interface org.telegram.abilitybots.api.db.DBContext
 
contains(String) - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
createNewStickerSet(CreateNewStickerSet) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
createNewStickerSet(CreateNewStickerSet) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
createVar(R) - Static method in class org.telegram.abilitybots.api.db.BackupVar
 
CREATOR - org.telegram.abilitybots.api.objects.Privacy
The creator of the bot.
creatorId() - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
CustomToggle - Class in org.telegram.abilitybots.api.toggle
This custom toggle can be used to customize default abilities supplied by the library.
CustomToggle() - Constructor for class org.telegram.abilitybots.api.toggle.CustomToggle
 

D

db - Variable in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
DBContext - Interface in org.telegram.abilitybots.api.db
This interface represents the high-level methods exposed to the user when handling an Update.
DEFAULT - Static variable in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
DefaultAbilities - Class in org.telegram.abilitybots.api.bot
 
DefaultAbilities(BaseAbilityBot) - Constructor for class org.telegram.abilitybots.api.bot.DefaultAbilities
 
DefaultSender - Class in org.telegram.abilitybots.api.sender
The default implementation of the MessageSender.
DefaultSender(DefaultAbsSender) - Constructor for class org.telegram.abilitybots.api.sender.DefaultSender
 
DefaultToggle - Class in org.telegram.abilitybots.api.toggle
If the user does not supply a toggle to their constructor, the default toggle will be instantiated.
DefaultToggle() - Constructor for class org.telegram.abilitybots.api.toggle.DefaultToggle
 
DEMOTE - Static variable in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
demoteAdmin() - Method in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
DOCUMENT - org.telegram.abilitybots.api.objects.Flag
 
downloadFile(String) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
downloadFile(String) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
downloadFile(File) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
downloadFile(File) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
downloadFileAsync(String, DownloadFileCallback<String>) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
downloadFileAsync(String, DownloadFileCallback<String>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
downloadFileAsync(File, DownloadFileCallback<File>) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
downloadFileAsync(File, DownloadFileCallback<File>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
downloadFileWithId(String) - Method in class org.telegram.abilitybots.api.bot.DefaultAbilities
 

E

EDITED_CHANNEL_POST - org.telegram.abilitybots.api.objects.Flag
 
EDITED_MESSAGE - org.telegram.abilitybots.api.objects.Flag
 
equals(Object) - Method in class org.telegram.abilitybots.api.db.BackupVar
 
equals(Object) - Method in class org.telegram.abilitybots.api.db.MapDBVar
 
equals(Object) - Method in class org.telegram.abilitybots.api.objects.Ability
 
equals(Object) - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
equals(Object) - Method in class org.telegram.abilitybots.api.objects.Reply
 
equals(Object) - Method in class org.telegram.abilitybots.api.util.Pair
 
equals(Object) - Method in class org.telegram.abilitybots.api.util.Trio
 
escape(String) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
 
execute(Method) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
execute(Method) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
execute(Method) - Method in class org.telegram.abilitybots.api.sender.SilentSender
 
executeAsync(Method, Callback) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
executeAsync(Method, Callback) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
executeAsync(Method, Callback) - Method in class org.telegram.abilitybots.api.sender.SilentSender
 

F

firstArg() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
flag(Predicate<Update>...) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
Flag - Enum in org.telegram.abilitybots.api.objects
Flags are an conditions that are applied on an Update.
flags() - Method in class org.telegram.abilitybots.api.objects.Ability
 
forceReply(String, long) - Method in class org.telegram.abilitybots.api.sender.SilentSender
 
fullName(User) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
The full name is identified as the concatenation of the first and last name, separated by a space.

G

get() - Method in class org.telegram.abilitybots.api.db.MapDBVar
 
get() - Method in interface org.telegram.abilitybots.api.db.Var
 
getBotPath() - Method in class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
getBotToken() - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
getBotUsername() - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
getChatId(Update) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
Fetches the direct chat ID of the specified update.
getList(String) - Method in interface org.telegram.abilitybots.api.db.DBContext
 
getList(String) - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
getLocalizedMessage(String, String, Object...) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
 
getLocalizedMessage(String, Locale, Object...) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
 
getMap(String) - Method in interface org.telegram.abilitybots.api.db.DBContext
 
getMap(String) - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
getMe() - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
getMe() - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getMeAsync(SentCallback<User>) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
getMeAsync(SentCallback<User>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getSet(String) - Method in interface org.telegram.abilitybots.api.db.DBContext
 
getSet(String) - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
getUser(Update) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
Fetches the user who caused the update.
getVar(String) - Method in interface org.telegram.abilitybots.api.db.DBContext
 
getVar(String) - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
getWebhookInfo() - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
getWebhookInfo() - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getWebhookInfoAsync(SentCallback<WebhookInfo>) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
getWebhookInfoAsync(SentCallback<WebhookInfo>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
GROUP - org.telegram.abilitybots.api.objects.Locality
Only group chats
GROUP_ADMIN - org.telegram.abilitybots.api.objects.Privacy
Only group admins would get to initiate this command.

H

hashCode() - Method in class org.telegram.abilitybots.api.db.BackupVar
 
hashCode() - Method in class org.telegram.abilitybots.api.db.MapDBVar
 
hashCode() - Method in class org.telegram.abilitybots.api.objects.Ability
 
hashCode() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
hashCode() - Method in class org.telegram.abilitybots.api.objects.Reply
 
hashCode() - Method in class org.telegram.abilitybots.api.util.Pair
 
hashCode() - Method in class org.telegram.abilitybots.api.util.Trio
 

I

info() - Method in class org.telegram.abilitybots.api.objects.Ability
 
info(String) - Method in interface org.telegram.abilitybots.api.db.DBContext
 
info(String) - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
info(String) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
INLINE_QUERY - org.telegram.abilitybots.api.objects.Flag
 
input(int) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
isGroupUpdate(Update) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
A "best-effort" boolean stating whether the update is a group message or not.
isOff(Ability) - Method in interface org.telegram.abilitybots.api.toggle.AbilityToggle
 
isOff(Ability) - Method in class org.telegram.abilitybots.api.toggle.BareboneToggle
 
isOff(Ability) - Method in class org.telegram.abilitybots.api.toggle.CustomToggle
 
isOff(Ability) - Method in class org.telegram.abilitybots.api.toggle.DefaultToggle
 
isOkFor(Update) - Method in class org.telegram.abilitybots.api.objects.Reply
 
isReplyTo(String) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
 
isSuperGroupUpdate(Update) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
A "best-effort" boolean stating whether the update is a super-group message or not.
isUserMessage(Update) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
 

L

locality() - Method in class org.telegram.abilitybots.api.objects.Ability
 
locality(Locality) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
Locality - Enum in org.telegram.abilitybots.api.objects
Locality identifies the location in which you want your message to be accessed.
LOCATION - org.telegram.abilitybots.api.objects.Flag
 

M

MapDBContext - Class in org.telegram.abilitybots.api.db
An implementation of DBContext that relies on a DB.
MapDBContext(DB) - Constructor for class org.telegram.abilitybots.api.db.MapDBContext
 
MapDBVar<T> - Class in org.telegram.abilitybots.api.db
The MapDB variant for DBContext.getVar(String).
MapDBVar(Atomic.Var<T>) - Constructor for class org.telegram.abilitybots.api.db.MapDBVar
 
MESSAGE - org.telegram.abilitybots.api.objects.Flag
 
MessageContext - Class in org.telegram.abilitybots.api.objects
MessageContext is a wrapper class to the Update, originating end-user and the arguments present in its message (if any).
MessageSender - Interface in org.telegram.abilitybots.api.sender
A sender interface that replicates DefaultAbsSender methods.

N

name() - Method in class org.telegram.abilitybots.api.objects.Ability
 
name(String) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
newContext(Update, User, Long, String...) - Static method in class org.telegram.abilitybots.api.objects.MessageContext
 
next(Reply) - Method in class org.telegram.abilitybots.api.objects.ReplyFlow.ReplyFlowBuilder
 
next(ReplyFlow) - Method in class org.telegram.abilitybots.api.objects.ReplyFlow.ReplyFlowBuilder
 
nextReplies() - Method in class org.telegram.abilitybots.api.objects.ReplyFlow
 
NONE - org.telegram.abilitybots.api.objects.Flag
 

O

of(A, B) - Static method in class org.telegram.abilitybots.api.util.Pair
 
of(A, B, C) - Static method in class org.telegram.abilitybots.api.util.Trio
 
of(Consumer<Update>, Predicate<Update>...) - Static method in class org.telegram.abilitybots.api.objects.Reply
 
of(Consumer<Update>, List<Predicate<Update>>) - Static method in class org.telegram.abilitybots.api.objects.Reply
 
OFF - Static variable in class org.telegram.abilitybots.api.toggle.CustomToggle
 
offlineInstance(String) - Static method in class org.telegram.abilitybots.api.db.MapDBContext
This DB returned by this method gets deleted on JVM shutdown.
onlineInstance(String) - Static method in class org.telegram.abilitybots.api.db.MapDBContext
This DB returned by this method does not trigger deletion on JVM shutdown.
onlyIf(Predicate<Update>) - Method in class org.telegram.abilitybots.api.objects.ReplyFlow.ReplyFlowBuilder
 
onUpdateReceived(Update) - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 
onUpdateReceived(Update) - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
This method contains the stream of actions that are applied on any update.
onWebhookUpdateReceived(Update) - Method in class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
org.telegram.abilitybots.api.bot - package org.telegram.abilitybots.api.bot
 
org.telegram.abilitybots.api.db - package org.telegram.abilitybots.api.db
 
org.telegram.abilitybots.api.objects - package org.telegram.abilitybots.api.objects
 
org.telegram.abilitybots.api.sender - package org.telegram.abilitybots.api.sender
 
org.telegram.abilitybots.api.toggle - package org.telegram.abilitybots.api.toggle
 
org.telegram.abilitybots.api.util - package org.telegram.abilitybots.api.util
 

P

Pair<A,​B> - Class in org.telegram.abilitybots.api.util
 
PHOTO - org.telegram.abilitybots.api.objects.Flag
 
post(Consumer<MessageContext>) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
postAction() - Method in class org.telegram.abilitybots.api.objects.Ability
 
privacy() - Method in class org.telegram.abilitybots.api.objects.Ability
 
privacy(Privacy) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
Privacy - Enum in org.telegram.abilitybots.api.objects
Privacy represents a restriction on who can use the ability.
processAbility(Ability) - Method in interface org.telegram.abilitybots.api.toggle.AbilityToggle
Abilities that are ON (and have failed the AbilityToggle.isOff(org.telegram.abilitybots.api.objects.Ability) condition) will be processed by this method.
processAbility(Ability) - Method in class org.telegram.abilitybots.api.toggle.BareboneToggle
 
processAbility(Ability) - Method in class org.telegram.abilitybots.api.toggle.CustomToggle
 
processAbility(Ability) - Method in class org.telegram.abilitybots.api.toggle.DefaultToggle
 
PROMOTE - Static variable in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
promoteAdmin() - Method in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
PUBLIC - org.telegram.abilitybots.api.objects.Privacy
Anybody who is not a bot admin or its creator will be considered as a public user.

R

recover(Object) - Method in interface org.telegram.abilitybots.api.db.DBContext
The object passed to this method need to conform to the implementation of the DBContext.backup() method.
recover(Object) - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
RECOVER - Static variable in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
recoverDB() - Method in class org.telegram.abilitybots.api.bot.DefaultAbilities
Recovers the bot database using DBContext.recover(Object).
replies() - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
replies() - Method in class org.telegram.abilitybots.api.objects.Ability
 
reply(Consumer<Update>, Predicate<Update>...) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
Reply - Class in org.telegram.abilitybots.api.objects
A reply consists of update conditionals and an action to be applied on the update.
REPLY - org.telegram.abilitybots.api.objects.Flag
 
ReplyFlow - Class in org.telegram.abilitybots.api.objects
 
ReplyFlow.ReplyFlowBuilder - Class in org.telegram.abilitybots.api.objects
 
REPORT - Static variable in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
reportCommands() - Method in class org.telegram.abilitybots.api.bot.DefaultAbilities
Format of the report:

S

secondArg() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
send(String, long) - Method in class org.telegram.abilitybots.api.sender.SilentSender
 
sendAudio(SendAudio) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
sendAudio(SendAudio) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendDocument(SendDocument) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
sendDocument(SendDocument) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sender - Variable in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
sendMd(String, long) - Method in class org.telegram.abilitybots.api.sender.SilentSender
 
sendPhoto(SendPhoto) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
sendPhoto(SendPhoto) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendSticker(SendSticker) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
sendSticker(SendSticker) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendVideo(SendVideo) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
sendVideo(SendVideo) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendVideoNote(SendVideoNote) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
sendVideoNote(SendVideoNote) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendVoice(SendVoice) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
sendVoice(SendVoice) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
set(T) - Method in class org.telegram.abilitybots.api.db.MapDBVar
 
set(T) - Method in interface org.telegram.abilitybots.api.db.Var
 
setChatPhoto(SetChatPhoto) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
setChatPhoto(SetChatPhoto) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
setWebhook(String, String) - Method in class org.telegram.abilitybots.api.bot.AbilityWebhookBot
 
shortName(User) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
The short name is one of the following: First name Last name Username The method will try to return the first valid name in the specified order.
silent - Variable in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
SilentSender - Class in org.telegram.abilitybots.api.sender
A silent sender that returns Optional objects upon execution.
SilentSender(MessageSender) - Constructor for class org.telegram.abilitybots.api.sender.SilentSender
 
STATES - Static variable in class org.telegram.abilitybots.api.objects.ReplyFlow.ReplyFlowBuilder
 
stream() - Method in class org.telegram.abilitybots.api.objects.Reply
 
stream() - Method in class org.telegram.abilitybots.api.objects.ReplyFlow
 
stripTag(String) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
 
summary() - Method in interface org.telegram.abilitybots.api.db.DBContext
 
summary() - Method in class org.telegram.abilitybots.api.db.MapDBContext
 

T

test(Update) - Method in enum org.telegram.abilitybots.api.objects.Flag
 
TEXT - org.telegram.abilitybots.api.objects.Flag
 
thirdArg() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
toggle(String, String) - Method in class org.telegram.abilitybots.api.toggle.CustomToggle
 
tokens() - Method in class org.telegram.abilitybots.api.objects.Ability
 
toString() - Method in class org.telegram.abilitybots.api.db.BackupVar
 
toString() - Method in class org.telegram.abilitybots.api.db.MapDBVar
 
toString() - Method in class org.telegram.abilitybots.api.objects.Ability
 
toString() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
toString() - Method in class org.telegram.abilitybots.api.objects.Reply
 
toString() - Method in class org.telegram.abilitybots.api.util.Pair
 
toString() - Method in class org.telegram.abilitybots.api.util.Trio
 
Trio<A,​B,​C> - Class in org.telegram.abilitybots.api.util
 
turnOff(String) - Method in class org.telegram.abilitybots.api.toggle.CustomToggle
 

U

UNBAN - Static variable in class org.telegram.abilitybots.api.bot.DefaultAbilities
 
unbanUser() - Method in class org.telegram.abilitybots.api.bot.DefaultAbilities
Usage: /unban @username
update() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
uploadStickerFile(UploadStickerFile) - Method in class org.telegram.abilitybots.api.sender.DefaultSender
 
uploadStickerFile(UploadStickerFile) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
user() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
USER - org.telegram.abilitybots.api.objects.Locality
Only user chats
USER_ID - Static variable in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
USER_NOT_FOUND - Static variable in class org.telegram.abilitybots.api.util.AbilityMessageCodes
 
userIds() - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
users() - Method in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 
USERS - Static variable in class org.telegram.abilitybots.api.bot.BaseAbilityBot
 

V

valueOf(String) - Static method in enum org.telegram.abilitybots.api.objects.Flag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.telegram.abilitybots.api.objects.Locality
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.telegram.abilitybots.api.objects.Privacy
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.telegram.abilitybots.api.objects.Flag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.telegram.abilitybots.api.objects.Locality
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.telegram.abilitybots.api.objects.Privacy
Returns an array containing the constants of this enum type, in the order they are declared.
var() - Method in class org.telegram.abilitybots.api.db.BackupVar
 
Var<T> - Interface in org.telegram.abilitybots.api.db
The interface governing a variable for abstract getters and setters.
A B C D E F G H I L M N O P R S T U V 
All Classes All Packages