Skip navigation links
A B C D E F G H I K L M N O P R S T U V 

A

a() - Method in class org.telegram.abilitybots.api.util.Pair
 
a() - Method in class org.telegram.abilitybots.api.util.Trio
 
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.AbilityBuilder - Class in org.telegram.abilitybots.api.objects
 
AbilityBot - Class in org.telegram.abilitybots.api.bot
The father of all ability bots.
AbilityBot(String, String, DBContext, DefaultBotOptions) - 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, DefaultBotOptions) - Constructor for class org.telegram.abilitybots.api.bot.AbilityBot
 
AbilityBot(String, String) - Constructor for class org.telegram.abilitybots.api.bot.AbilityBot
 
AbilityUtils - Class in org.telegram.abilitybots.api.util
Helper and utility methods
action(Consumer<MessageContext>) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
action() - Method in class org.telegram.abilitybots.api.objects.Ability
 
action - Variable in class org.telegram.abilitybots.api.objects.Reply
 
actOn(Update) - Method in class org.telegram.abilitybots.api.objects.Reply
 
addTag(String) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
 
ADMINS - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
admins() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 
answerCallbackQuery(AnswerCallbackQuery) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
answerCallbackQuery(AnswerCallbackQuery) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
answerCallbackQueryAsync(AnswerCallbackQuery, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
answerCallbackQueryAsync(AnswerCallbackQuery, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
answerInlineQuery(AnswerInlineQuery) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
answerInlineQuery(AnswerInlineQuery) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
answerInlineQueryAsync(AnswerInlineQuery, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
answerInlineQueryAsync(AnswerInlineQuery, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
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 - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
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
 
backupDB() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
This backup ability returns the object defined by DBContext.backup() as a message document.
BAN - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
banUser() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
Banned users are accumulated in the blacklist.
BLACKLIST - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
blacklist() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 
build() - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
builder() - Static method in class org.telegram.abilitybots.api.objects.Ability
 

C

c() - Method in class org.telegram.abilitybots.api.util.Trio
 
chatId() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
checkGlobalFlags(Update) - Method in class org.telegram.abilitybots.api.bot.AbilityBot
Test the update against the provided global flags.
CLAIM - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
claimCreator() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
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
 
close() - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
COMMANDS - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
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
 
contains(String) - Method in interface org.telegram.abilitybots.api.db.DBContext
 
contains(String) - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
creatorId() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 

D

db - Variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
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.AbilityBot
 
DefaultMessageSender - Class in org.telegram.abilitybots.api.sender
The default implementation of the MessageSender.
DefaultMessageSender(DefaultAbsSender) - Constructor for class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
deleteChatPhoto(DeleteChatPhoto) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
deleteChatPhoto(DeleteChatPhoto, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
deleteChatPhoto(DeleteChatPhoto) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
deleteChatPhoto(DeleteChatPhoto, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
deleteMessage(DeleteMessage) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
deleteMessage(DeleteMessage) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
deleteMessageAsync(DeleteMessage, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
deleteMessageAsync(DeleteMessage, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
deleteWebhook(DeleteWebhook) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
deleteWebhook(DeleteWebhook, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
deleteWebhook(DeleteWebhook) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
deleteWebhook(DeleteWebhook, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
DEMOTE - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
demoteAdmin() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 
downloadFile(String) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
downloadFile(File) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
downloadFile(String) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
downloadFile(File) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
downloadFileAsync(String, DownloadFileCallback<String>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
downloadFileAsync(File, DownloadFileCallback<File>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
downloadFileAsync(String, DownloadFileCallback<String>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
downloadFileAsync(File, DownloadFileCallback<File>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 

E

editMessageCaption(EditMessageCaption) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
editMessageCaption(EditMessageCaption) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
editMessageCaptionAsync(EditMessageCaption, SentCallback<Serializable>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
editMessageCaptionAsync(EditMessageCaption, SentCallback<Serializable>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
editMessageReplyMarkup(EditMessageReplyMarkup) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
editMessageReplyMarkup(EditMessageReplyMarkup, SentCallback<Serializable>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
editMessageReplyMarkup(EditMessageReplyMarkup) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
editMessageReplyMarkup(EditMessageReplyMarkup, SentCallback<Serializable>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
editMessageText(EditMessageText) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
editMessageText(EditMessageText) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
editMessageTextAsync(EditMessageText, SentCallback<Serializable>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
editMessageTextAsync(EditMessageText, SentCallback<Serializable>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
EndUser - Class in org.telegram.abilitybots.api.objects
This class serves the purpose of separating the basic Telegram User and the augmented EndUser.
endUser(Integer, String, String, String) - Static method in class org.telegram.abilitybots.api.objects.EndUser
 
equals(Object) - Method in class org.telegram.abilitybots.api.objects.Ability
 
equals(Object) - Method in class org.telegram.abilitybots.api.objects.EndUser
 
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
 
exportChatInviteLink(ExportChatInviteLink) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
exportChatInviteLink(ExportChatInviteLink) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
exportChatInviteLinkAsync(ExportChatInviteLink, SentCallback<String>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
exportChatInviteLinkAsync(ExportChatInviteLink, SentCallback<String>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 

F

firstArg() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
firstName() - Method in class org.telegram.abilitybots.api.objects.EndUser
 
flag(Flag...) - 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.DefaultMessageSender
 
forceReply(String, long) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
forwardMessage(ForwardMessage) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
forwardMessage(ForwardMessage) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
forwardMessageAsync(ForwardMessage, SentCallback<Message>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
forwardMessageAsync(ForwardMessage, SentCallback<Message>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
fromUser(User) - Static method in class org.telegram.abilitybots.api.objects.EndUser
Constructs an EndUser from a User.
fullName() - Method in class org.telegram.abilitybots.api.objects.EndUser
The full name is identified as the concatenation of the first and last name, separated by a space.

G

getBotToken() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 
getBotUsername() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 
getChat(GetChat) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getChat(GetChat) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getChatAdministrators(GetChatAdministrators) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getChatAdministrators(GetChatAdministrators) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getChatAdministratorsAsync(GetChatAdministrators, SentCallback<ArrayList<ChatMember>>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getChatAdministratorsAsync(GetChatAdministrators, SentCallback<ArrayList<ChatMember>>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getChatAsync(GetChat, SentCallback<Chat>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getChatAsync(GetChat, SentCallback<Chat>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getChatId(Update) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
Fetches the direct chat ID of the specified update.
getChatMember(GetChatMember) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getChatMember(GetChatMember) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getChatMemberAsync(GetChatMember, SentCallback<ChatMember>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getChatMemberAsync(GetChatMember, SentCallback<ChatMember>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getChatMemberCount(GetChatMemberCount) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getChatMemberCount(GetChatMemberCount) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getChatMemberCountAsync(GetChatMemberCount, SentCallback<Integer>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getChatMemberCountAsync(GetChatMemberCount, SentCallback<Integer>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getFile(GetFile) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getFile(GetFile) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getFileAsync(GetFile, SentCallback<File>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getFileAsync(GetFile, SentCallback<File>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getGameHighScores(GetGameHighScores) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getGameHighScores(GetGameHighScores) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getGameHighScoresAsync(GetGameHighScores, SentCallback<ArrayList<GameHighScore>>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getGameHighScoresAsync(GetGameHighScores, SentCallback<ArrayList<GameHighScore>>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getList(String) - Method in interface org.telegram.abilitybots.api.db.DBContext
 
getList(String) - Method in class org.telegram.abilitybots.api.db.MapDBContext
 
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.DefaultMessageSender
 
getMe() - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getMeAsync(SentCallback<User>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
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(String) - Method in class org.telegram.abilitybots.api.bot.AbilityBot
Gets the user with the specified username.
getUser(int) - Method in class org.telegram.abilitybots.api.bot.AbilityBot
Gets the user with the specified ID.
getUser(Update) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
Fetches the user who caused the update.
getUserIdSendError(String, long) - Method in class org.telegram.abilitybots.api.bot.AbilityBot
Gets the user with the specified username.
getUserProfilePhotos(GetUserProfilePhotos) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getUserProfilePhotos(GetUserProfilePhotos) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getUserProfilePhotosAsync(GetUserProfilePhotos, SentCallback<UserProfilePhotos>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getUserProfilePhotosAsync(GetUserProfilePhotos, SentCallback<UserProfilePhotos>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getWebhookInfo() - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getWebhookInfo() - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
getWebhookInfoAsync(SentCallback<WebhookInfo>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
getWebhookInfoAsync(SentCallback<WebhookInfo>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 

H

hashCode() - Method in class org.telegram.abilitybots.api.objects.Ability
 
hashCode() - Method in class org.telegram.abilitybots.api.objects.EndUser
 
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

id() - Method in class org.telegram.abilitybots.api.objects.EndUser
 
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
 
info() - Method in class org.telegram.abilitybots.api.objects.Ability
 
input(int) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
isOkFor(Update) - Method in class org.telegram.abilitybots.api.objects.Reply
 
isReplyTo(String) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
 
isUserMessage(Update) - Static method in class org.telegram.abilitybots.api.util.AbilityUtils
 

K

kickMember(KickChatMember) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
kickMember(KickChatMember) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
kickMemberAsync(KickChatMember, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
kickMemberAsync(KickChatMember, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 

L

lastName() - Method in class org.telegram.abilitybots.api.objects.EndUser
 
leaveChat(LeaveChat) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
leaveChat(LeaveChat) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
leaveChatAsync(LeaveChat, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
leaveChatAsync(LeaveChat, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
locality(Locality) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
locality() - Method in class org.telegram.abilitybots.api.objects.Ability
 
Locality - Enum in org.telegram.abilitybots.api.objects
Locality identifies the location in which you want your message to be accessed.

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
 
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(String) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
name() - Method in class org.telegram.abilitybots.api.objects.Ability
 
newContext(Update, EndUser, Long, String...) - Static method in class org.telegram.abilitybots.api.objects.MessageContext
 

O

of(Consumer<Update>, Predicate<Update>...) - Static method in class org.telegram.abilitybots.api.objects.Reply
 
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
 
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.
onUpdateReceived(Update) - Method in class org.telegram.abilitybots.api.bot.AbilityBot
This method contains the stream of actions that are applied on any update.
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.util - package org.telegram.abilitybots.api.util
 

P

Pair<A,B> - Class in org.telegram.abilitybots.api.util
 
pinChatMessage(PinChatMessage) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
pinChatMessage(PinChatMessage, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
pinChatMessage(PinChatMessage) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
pinChatMessage(PinChatMessage, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
post(Consumer<MessageContext>) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
postAction() - Method in class org.telegram.abilitybots.api.objects.Ability
 
privacy(Privacy) - Method in class org.telegram.abilitybots.api.objects.Ability.AbilityBuilder
 
privacy() - Method in class org.telegram.abilitybots.api.objects.Ability
 
Privacy - Enum in org.telegram.abilitybots.api.objects
Privacy represents a restriction on who can use the ability.
PROMOTE - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
promoteAdmin() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 
promoteChatMember(PromoteChatMember) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
promoteChatMember(PromoteChatMember, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
promoteChatMember(PromoteChatMember) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
promoteChatMember(PromoteChatMember, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 

R

RECOVER - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
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_SUCCESS - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
recoverDB() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
Recovers the bot database using DBContext.recover(Object).
RECOVERY_MESSAGE - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
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.
reportCommands() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
Format of the report:
restrictChatMember(RestrictChatMember) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
restrictChatMember(RestrictChatMember, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
restrictChatMember(RestrictChatMember) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
restrictChatMember(RestrictChatMember, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 

S

secondArg() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
send(String, long) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
send(String, long) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendAudio(SendAudio) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendAudio(SendAudio) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendChatAction(SendChatAction) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendChatAction(SendChatAction) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendChatActionAsync(SendChatAction, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendChatActionAsync(SendChatAction, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendContact(SendContact) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendContact(SendContact) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendContactAsync(SendContact, SentCallback<Message>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendContactAsync(SendContact, SentCallback<Message>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendDocument(SendDocument) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendDocument(SendDocument) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sender - Variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
sendGame(SendGame) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendGame(SendGame) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendGameAsync(SendGame, SentCallback<Message>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendGameAsync(SendGame, SentCallback<Message>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendLocation(SendLocation) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendLocation(SendLocation) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendLocationAsync(SendLocation, SentCallback<Message>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendLocationAsync(SendLocation, SentCallback<Message>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendMd(String, long) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendMd(String, long) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendMessage(SendMessage) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendMessage(SendMessage) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendMessageAsync(SendMessage, SentCallback<Message>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendMessageAsync(SendMessage, SentCallback<Message>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendPhoto(SendPhoto) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendPhoto(SendPhoto) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendSticker(SendSticker) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendSticker(SendSticker) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendVenue(SendVenue) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendVenue(SendVenue) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendVenueAsync(SendVenue, SentCallback<Message>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendVenueAsync(SendVenue, SentCallback<Message>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendVideo(SendVideo) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendVideo(SendVideo) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
sendVoice(SendVoice) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
sendVoice(SendVoice) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
setChatDescription(SetChatDescription) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
setChatDescription(SetChatDescription, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
setChatDescription(SetChatDescription) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
setChatDescription(SetChatDescription, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
setChatPhoto(SetChatPhoto) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
setChatPhoto(SetChatPhoto) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
setChatTite(SetChatTitle) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
setChatTite(SetChatTitle, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
setChatTite(SetChatTitle) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
setChatTite(SetChatTitle, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
setGameScore(SetGameScore) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
setGameScore(SetGameScore) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
setGameScoreAsync(SetGameScore, SentCallback<Serializable>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
setGameScoreAsync(SetGameScore, SentCallback<Serializable>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
shortName() - Method in class org.telegram.abilitybots.api.objects.EndUser
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.
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
 
thirdArg() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
tokens() - Method in class org.telegram.abilitybots.api.objects.Ability
 
toString() - Method in class org.telegram.abilitybots.api.objects.Ability
 
toString() - Method in class org.telegram.abilitybots.api.objects.EndUser
 
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
 

U

UNBAN - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
unbanMember(UnbanChatMember) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
unbanMember(UnbanChatMember) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
unbanMemberAsync(UnbanChatMember, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
unbanMemberAsync(UnbanChatMember, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
unbanUser() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
Usage: /unban @username
unpinChatMessage(UnpinChatMessage) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
unpinChatMessage(UnpinChatMessage, SentCallback<Boolean>) - Method in class org.telegram.abilitybots.api.sender.DefaultMessageSender
 
unpinChatMessage(UnpinChatMessage) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
unpinChatMessage(UnpinChatMessage, SentCallback<Boolean>) - Method in interface org.telegram.abilitybots.api.sender.MessageSender
 
update() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
user() - Method in class org.telegram.abilitybots.api.objects.MessageContext
 
USER_ID - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
userIds() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 
username() - Method in class org.telegram.abilitybots.api.objects.EndUser
 
USERS - Static variable in class org.telegram.abilitybots.api.bot.AbilityBot
 
users() - Method in class org.telegram.abilitybots.api.bot.AbilityBot
 

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.
A B C D E F G H I K L M N O P R S T U V 
Skip navigation links

Copyright © 2017. All rights reserved.