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

A

AbstractChatContextFactory - Interface in co.vandenham.telegram.botapi
 
add(ChatContext) - Method in class co.vandenham.telegram.botapi.ChatContextTelegramBot
 
add(int, String...) - Method in class co.vandenham.telegram.botapi.types.ReplyKeyboardMarkup.Builder
Adds all buttons with a maximum width per row.
addAll(List<? extends ChatContext>) - Method in class co.vandenham.telegram.botapi.ChatContextTelegramBot
 
API_URL - Static variable in class co.vandenham.telegram.botapi.requests.TelegramApi
 
ApiException - Exception in co.vandenham.telegram.botapi.requests
 
ApiException(String) - Constructor for exception co.vandenham.telegram.botapi.requests.ApiException
 
ApiException(String, Throwable) - Constructor for exception co.vandenham.telegram.botapi.requests.ApiException
 
ApiException(String, ApiResult<?>) - Constructor for exception co.vandenham.telegram.botapi.requests.ApiException
 
ApiRequestExecutor - Class in co.vandenham.telegram.botapi.requests
 
ApiResponse<T> - Interface in co.vandenham.telegram.botapi.requests
 
ApiResult<T> - Class in co.vandenham.telegram.botapi.requests
 
ApiResult() - Constructor for class co.vandenham.telegram.botapi.requests.ApiResult
 
asGroupChat() - Method in class co.vandenham.telegram.botapi.types.Chat
Returns this chat as a GroupChat.
asUser() - Method in class co.vandenham.telegram.botapi.types.Chat
Returns this chat as a User.
Audio - Class in co.vandenham.telegram.botapi.types
This object represents an audio file (voice note).
Audio() - Constructor for class co.vandenham.telegram.botapi.types.Audio
 

B

build() - Method in class co.vandenham.telegram.botapi.types.ReplyKeyboardMarkup.Builder
Builds the ReplyKeyboardMarkup object.
Builder() - Constructor for class co.vandenham.telegram.botapi.types.ReplyKeyboardMarkup.Builder
 

C

caption(String) - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 
Chat - Class in co.vandenham.telegram.botapi.types
Represents a chat.
Chat() - Constructor for class co.vandenham.telegram.botapi.types.Chat
 
ChatAction - Enum in co.vandenham.telegram.botapi.requests
 
ChatContext - Class in co.vandenham.telegram.botapi
 
ChatContext(int, TelegramBot) - Constructor for class co.vandenham.telegram.botapi.ChatContext
 
ChatContextTelegramBot - Class in co.vandenham.telegram.botapi
 
ChatContextTelegramBot(String, AbstractChatContextFactory) - Constructor for class co.vandenham.telegram.botapi.ChatContextTelegramBot
 
ChatContextTelegramBot(String, AbstractChatContextFactory, boolean) - Constructor for class co.vandenham.telegram.botapi.ChatContextTelegramBot
 
co.vandenham.telegram.botapi - package co.vandenham.telegram.botapi
TelegramBots4Java is a Java implementation of the Telegram Bot API (https://core.telegram.org/bots/api).
co.vandenham.telegram.botapi.requests - package co.vandenham.telegram.botapi.requests
This package encapsulates all calls to the Telegram API.
co.vandenham.telegram.botapi.types - package co.vandenham.telegram.botapi.types
This package contains all types as defined by https://core.telegram.org/bots/api#available-types In addition, a Chat type is created for convenience.
CommandHandler - Annotation Type in co.vandenham.telegram.botapi
 
Contact - Class in co.vandenham.telegram.botapi.types
This object represents a phone contact.
Contact() - Constructor for class co.vandenham.telegram.botapi.types.Contact
 
createChatContext(int, TelegramBot) - Method in interface co.vandenham.telegram.botapi.AbstractChatContextFactory
 

D

DefaultHandler - Annotation Type in co.vandenham.telegram.botapi
 
deserialize(String, ApiRequest.ResultTypes) - Method in class co.vandenham.telegram.botapi.requests.ApiRequestExecutor
 
disableWebPagePreview() - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 
Document - Class in co.vandenham.telegram.botapi.types
This object represents a general file (as opposed to photos (PhotoSize) and audio (Audio) files).
Document() - Constructor for class co.vandenham.telegram.botapi.types.Document
 
duration(int) - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 

E

execute(TelegramApi, ApiRequest<T>) - Method in class co.vandenham.telegram.botapi.requests.ApiRequestExecutor
 

F

ForceReply - Class in co.vandenham.telegram.botapi.types
Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply').
forwardMessage(int, int, int) - Method in class co.vandenham.telegram.botapi.ChatContext
 
forwardMessage(int, int, int) - Method in class co.vandenham.telegram.botapi.TelegramBot
Forwards a message with ID messageId from fromChatId to chatId.
ForwardMessageRequest - Class in co.vandenham.telegram.botapi.requests
 
ForwardMessageRequest(int, int, int) - Constructor for class co.vandenham.telegram.botapi.requests.ForwardMessageRequest
 

G

getAction() - Method in enum co.vandenham.telegram.botapi.requests.ChatAction
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.ForwardMessageRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.GetMeRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.GetUpdatesRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.GetUserProfilePhotosRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.SendAudioRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.SendChatActionRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.SendDocumentRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.SendLocationRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.SendMessageRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.SendPhotoRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.SendStickerRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.SendVideoRequest
 
getArgs() - Method in class co.vandenham.telegram.botapi.requests.SendVoiceRequest
 
getAsynchronousExecutor() - Static method in class co.vandenham.telegram.botapi.requests.ApiRequestExecutor
 
getAudio() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getCaption() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getChat() - Method in class co.vandenham.telegram.botapi.types.Message
 
getChatId() - Method in class co.vandenham.telegram.botapi.ChatContext
 
getContact() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getDate() - Method in class co.vandenham.telegram.botapi.types.Message
 
getDescription() - Method in class co.vandenham.telegram.botapi.requests.ApiResult
 
getDocument() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getDuration() - Method in class co.vandenham.telegram.botapi.types.Audio
 
getDuration() - Method in class co.vandenham.telegram.botapi.types.Video
 
getDuration() - Method in class co.vandenham.telegram.botapi.types.Voice
 
getErrorCode() - Method in class co.vandenham.telegram.botapi.requests.ApiResult
 
getFileId() - Method in class co.vandenham.telegram.botapi.types.Audio
 
getFileId() - Method in class co.vandenham.telegram.botapi.types.Document
 
getFileId() - Method in class co.vandenham.telegram.botapi.types.PhotoSize
 
getFileId() - Method in class co.vandenham.telegram.botapi.types.Sticker
 
getFileId() - Method in class co.vandenham.telegram.botapi.types.Video
 
getFileId() - Method in class co.vandenham.telegram.botapi.types.Voice
 
getFileName() - Method in class co.vandenham.telegram.botapi.types.Document
Optional.
getFileSize() - Method in class co.vandenham.telegram.botapi.types.Audio
Optional.
getFileSize() - Method in class co.vandenham.telegram.botapi.types.Document
Optional.
getFileSize() - Method in class co.vandenham.telegram.botapi.types.PhotoSize
Optional.
getFileSize() - Method in class co.vandenham.telegram.botapi.types.Sticker
Optional.
getFileSize() - Method in class co.vandenham.telegram.botapi.types.Video
Optional.
getFileSize() - Method in class co.vandenham.telegram.botapi.types.Voice
Optional.
getFirstName() - Method in class co.vandenham.telegram.botapi.types.Contact
 
getFirstName() - Method in class co.vandenham.telegram.botapi.types.User
 
getForwardDate() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getForwardFrom() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getFrom() - Method in class co.vandenham.telegram.botapi.types.Message
 
getHeight() - Method in class co.vandenham.telegram.botapi.types.PhotoSize
 
getHeight() - Method in class co.vandenham.telegram.botapi.types.Sticker
 
getHeight() - Method in class co.vandenham.telegram.botapi.types.Video
 
getId() - Method in class co.vandenham.telegram.botapi.types.Chat
 
getId() - Method in class co.vandenham.telegram.botapi.types.GroupChat
 
getId() - Method in class co.vandenham.telegram.botapi.types.User
 
getLastName() - Method in class co.vandenham.telegram.botapi.types.Contact
Optional.
getLastName() - Method in class co.vandenham.telegram.botapi.types.User
Optional.
getLatitude() - Method in class co.vandenham.telegram.botapi.types.Location
 
getLeftChatParticipant() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getLocation() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getLongitude() - Method in class co.vandenham.telegram.botapi.types.Location
 
getMe() - Method in class co.vandenham.telegram.botapi.ChatContext
 
getMe() - Method in class co.vandenham.telegram.botapi.TelegramBot
A simple method for testing your bot's auth token.
GetMeRequest - Class in co.vandenham.telegram.botapi.requests
 
GetMeRequest() - Constructor for class co.vandenham.telegram.botapi.requests.GetMeRequest
 
getMessage() - Method in class co.vandenham.telegram.botapi.types.Update
Optional.
getMessageId() - Method in class co.vandenham.telegram.botapi.types.Message
 
getMethodName() - Method in exception co.vandenham.telegram.botapi.requests.ApiException
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.ForwardMessageRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.GetMeRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.GetUpdatesRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.GetUserProfilePhotosRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.SendAudioRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.SendChatActionRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.SendDocumentRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.SendLocationRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.SendMessageRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.SendPhotoRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.SendStickerRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.SendVideoRequest
 
getMethodName() - Method in class co.vandenham.telegram.botapi.requests.SendVoiceRequest
 
getMimeType() - Method in class co.vandenham.telegram.botapi.types.Audio
Optional.
getMimeType() - Method in class co.vandenham.telegram.botapi.types.Document
Optional.
getMimeType() - Method in class co.vandenham.telegram.botapi.types.Video
Optional.
getMimeType() - Method in class co.vandenham.telegram.botapi.types.Voice
Optional.
getNewChatParticipant() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getNewChatPhoto() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getNewChatTitle() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getNonSelective() - Static method in class co.vandenham.telegram.botapi.types.ForceReply
Returns a non-selective instance of this class (selective is set to false).
getNonSelectiveInstance() - Static method in class co.vandenham.telegram.botapi.types.ReplyKeyboardHide
Returns a non-selective instance of this class (selective is set to false).
getPerformer() - Method in class co.vandenham.telegram.botapi.types.Audio
Optional.
getPhoneNumber() - Method in class co.vandenham.telegram.botapi.types.Contact
 
getPhoto() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getPhotos() - Method in class co.vandenham.telegram.botapi.types.UserProfilePhotos
 
getReplyToMessage() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.ForwardMessageRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.GetMeRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.GetUpdatesRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.GetUserProfilePhotosRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.SendAudioRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.SendChatActionRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.SendDocumentRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.SendLocationRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.SendMessageRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.SendPhotoRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.SendStickerRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.SendVideoRequest
 
getRequestStrategy() - Method in class co.vandenham.telegram.botapi.requests.SendVoiceRequest
 
getResult() - Method in interface co.vandenham.telegram.botapi.requests.ApiResponse
 
getResult() - Method in class co.vandenham.telegram.botapi.requests.ApiResult
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.ForwardMessageRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.GetMeRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.GetUpdatesRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.GetUserProfilePhotosRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.SendAudioRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.SendChatActionRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.SendDocumentRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.SendLocationRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.SendMessageRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.SendPhotoRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.SendStickerRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.SendVideoRequest
 
getResultType() - Method in class co.vandenham.telegram.botapi.requests.SendVoiceRequest
 
getSelective() - Static method in class co.vandenham.telegram.botapi.types.ForceReply
Returns a selective instance of this class (selective is set to true).
getSelectiveInstance() - Static method in class co.vandenham.telegram.botapi.types.ReplyKeyboardHide
Returns a selective instance of this class (selective is set to true).
getSticker() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getSynchronousExecutor() - Static method in class co.vandenham.telegram.botapi.requests.ApiRequestExecutor
 
getText() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getThumb() - Method in class co.vandenham.telegram.botapi.types.Document
Optional.
getThumb() - Method in class co.vandenham.telegram.botapi.types.Sticker
Optional.
getThumb() - Method in class co.vandenham.telegram.botapi.types.Video
Optional.
getTitle() - Method in class co.vandenham.telegram.botapi.types.Audio
Optional.
getTitle() - Method in class co.vandenham.telegram.botapi.types.GroupChat
 
getTotalCount() - Method in class co.vandenham.telegram.botapi.types.UserProfilePhotos
 
getType() - Method in class co.vandenham.telegram.botapi.types.Message
Returns the Message.Type of this Message.
getUpdateId() - Method in class co.vandenham.telegram.botapi.types.Update
 
GetUpdatesRequest - Class in co.vandenham.telegram.botapi.requests
 
GetUpdatesRequest() - Constructor for class co.vandenham.telegram.botapi.requests.GetUpdatesRequest
 
GetUpdatesRequest(OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.GetUpdatesRequest
 
getUserId() - Method in class co.vandenham.telegram.botapi.types.Contact
Optional.
getUsername() - Method in class co.vandenham.telegram.botapi.types.User
Optional.
getUserProfilePhotos(int) - Method in class co.vandenham.telegram.botapi.ChatContext
 
getUserProfilePhotos(int, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
getUserProfilePhotos(int) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
getUserProfilePhotos(int, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
Returns a UserProfilePhotos for a user.
GetUserProfilePhotosRequest - Class in co.vandenham.telegram.botapi.requests
 
GetUserProfilePhotosRequest(int) - Constructor for class co.vandenham.telegram.botapi.requests.GetUserProfilePhotosRequest
 
GetUserProfilePhotosRequest(int, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.GetUserProfilePhotosRequest
 
getVideo() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
getWidth() - Method in class co.vandenham.telegram.botapi.types.PhotoSize
 
getWidth() - Method in class co.vandenham.telegram.botapi.types.Sticker
 
getWidth() - Method in class co.vandenham.telegram.botapi.types.Video
 
GroupChat - Class in co.vandenham.telegram.botapi.types
This object represents a group chat.
GroupChat() - Constructor for class co.vandenham.telegram.botapi.types.GroupChat
Parameterless constructor for gson.
GroupChat(int, String) - Constructor for class co.vandenham.telegram.botapi.types.GroupChat
 

H

HandlerNotifier - Class in co.vandenham.telegram.botapi
 
HandlerNotifier(Object) - Constructor for class co.vandenham.telegram.botapi.HandlerNotifier
 

I

isDeleteChatPhoto() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
isGroupChat() - Method in class co.vandenham.telegram.botapi.types.Chat
 
isGroupChatCreated() - Method in class co.vandenham.telegram.botapi.types.Message
Optional.
isOk() - Method in class co.vandenham.telegram.botapi.requests.ApiResult
 
isUser() - Method in class co.vandenham.telegram.botapi.types.Chat
 

L

limit(int) - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 
Location - Class in co.vandenham.telegram.botapi.types
This object represents a point on the map.
Location() - Constructor for class co.vandenham.telegram.botapi.types.Location
 

M

makeGetRequest(String) - Method in class co.vandenham.telegram.botapi.requests.TelegramApi
 
makeMultipartRequest(String, Map<String, String>, String, File) - Method in class co.vandenham.telegram.botapi.requests.TelegramApi
 
makePostRequest(String, Map<String, String>) - Method in class co.vandenham.telegram.botapi.requests.TelegramApi
 
makeRequest(TelegramApi, ApiRequest<T>) - Method in class co.vandenham.telegram.botapi.requests.ApiRequestExecutor
 
Message - Class in co.vandenham.telegram.botapi.types
This object represents a message.
Message() - Constructor for class co.vandenham.telegram.botapi.types.Message
 
Message.Type - Enum in co.vandenham.telegram.botapi.types
Defines the different types of Messages that can be received.
MessageHandler - Annotation Type in co.vandenham.telegram.botapi
 

N

notifyHandlers(Message) - Method in class co.vandenham.telegram.botapi.HandlerNotifier
 
notifyNewMessages(List<Message>) - Method in class co.vandenham.telegram.botapi.RegistrableTelegramBot
 
notifyNewMessages(List<Message>) - Method in class co.vandenham.telegram.botapi.TelegramBot
This method is called by this class to process all new Messages asynchronously.

O

offset(int) - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 
onMessage(Message) - Method in class co.vandenham.telegram.botapi.ChatContext
 
onMessage(Message) - Method in class co.vandenham.telegram.botapi.ChatContextTelegramBot
 
onMessage(TelegramBot, Message) - Method in interface co.vandenham.telegram.botapi.RegistrableTelegramBot.MessageListener
 
onMessage(Message) - Method in class co.vandenham.telegram.botapi.TelegramBot
This method is called when a new message has arrived.
onStart() - Method in class co.vandenham.telegram.botapi.ChatContext
 
onStart() - Method in class co.vandenham.telegram.botapi.ChatContextTelegramBot
 
onStart() - Method in class co.vandenham.telegram.botapi.TelegramBot
 
onStop() - Method in class co.vandenham.telegram.botapi.ChatContext
 
onStop() - Method in class co.vandenham.telegram.botapi.ChatContextTelegramBot
 
onStop() - Method in class co.vandenham.telegram.botapi.TelegramBot
 
OptionalArgs - Class in co.vandenham.telegram.botapi.requests
 
OptionalArgs() - Constructor for class co.vandenham.telegram.botapi.requests.OptionalArgs
 
options() - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 

P

passMessage(Message) - Method in class co.vandenham.telegram.botapi.ChatContext
 
performer(String) - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 
PhotoSize - Class in co.vandenham.telegram.botapi.types
This object represents one size of a photo or a file / sticker thumbnail.
PhotoSize() - Constructor for class co.vandenham.telegram.botapi.types.PhotoSize
 
provideExecutorService() - Method in class co.vandenham.telegram.botapi.RegistrableTelegramBot
 
provideExecutorService() - Method in class co.vandenham.telegram.botapi.TelegramBot
Instantiates and returns an ExecutorService.

R

register(RegistrableTelegramBot.MessageListener) - Method in class co.vandenham.telegram.botapi.RegistrableTelegramBot
 
RegistrableTelegramBot - Class in co.vandenham.telegram.botapi
 
RegistrableTelegramBot(String) - Constructor for class co.vandenham.telegram.botapi.RegistrableTelegramBot
 
RegistrableTelegramBot(String, boolean) - Constructor for class co.vandenham.telegram.botapi.RegistrableTelegramBot
 
RegistrableTelegramBot.MessageListener - Interface in co.vandenham.telegram.botapi
 
ReplyKeyboardHide - Class in co.vandenham.telegram.botapi.types
Upon receiving a message with this object, Telegram clients will hide the current custom keyboard and display the default letter-keyboard.
ReplyKeyboardMarkup - Class in co.vandenham.telegram.botapi.types
This object represents a custom keyboard with reply options.
ReplyKeyboardMarkup.Builder - Class in co.vandenham.telegram.botapi.types
A convenience Builder for this class.
replyMarkup(ReplyMarkup) - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 
ReplyMarkup - Interface in co.vandenham.telegram.botapi.types
Defines a general interface for reply markups.
replyTo(Message, String) - Method in class co.vandenham.telegram.botapi.ChatContext
 
replyTo(Message, String) - Method in class co.vandenham.telegram.botapi.TelegramBot
Convenience method for sendMessage(message.getChat().getId(), text, new OptionalArgs().replyToMessageId(message.getMessageId()))
replyToMessageId(int) - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 
row(String...) - Method in class co.vandenham.telegram.botapi.types.ReplyKeyboardMarkup.Builder
Adds a row of "buttons" to the keyboard.

S

sendAudio(File) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendAudio(File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendAudio(String) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendAudio(String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendAudio(int, File) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendAudio(int, File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
Use this method to send audio files, if you want Telegram clients to display them in the music player.
sendAudio(int, String) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendAudio(int, String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
This version takes a file id instead of a File, as a String argument.
SendAudioRequest - Class in co.vandenham.telegram.botapi.requests
 
SendAudioRequest(int, File) - Constructor for class co.vandenham.telegram.botapi.requests.SendAudioRequest
 
SendAudioRequest(int, File, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendAudioRequest
 
SendAudioRequest(int, String) - Constructor for class co.vandenham.telegram.botapi.requests.SendAudioRequest
 
SendAudioRequest(int, String, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendAudioRequest
 
sendChatAction(ChatAction) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendChatAction(int, ChatAction) - Method in class co.vandenham.telegram.botapi.TelegramBot
Use this method when you need to tell the user that something is happening on the bot's side.
SendChatActionRequest - Class in co.vandenham.telegram.botapi.requests
 
SendChatActionRequest(int, ChatAction) - Constructor for class co.vandenham.telegram.botapi.requests.SendChatActionRequest
 
sendDocument(File) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendDocument(File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendDocument(String) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendDocument(String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendDocument(int, File) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendDocument(int, File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
Use this method to send general files.
sendDocument(int, String) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendDocument(int, String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
This version takes a file id instead of a File.
SendDocumentRequest - Class in co.vandenham.telegram.botapi.requests
 
SendDocumentRequest(int, File) - Constructor for class co.vandenham.telegram.botapi.requests.SendDocumentRequest
 
SendDocumentRequest(int, File, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendDocumentRequest
 
SendDocumentRequest(int, String) - Constructor for class co.vandenham.telegram.botapi.requests.SendDocumentRequest
 
SendDocumentRequest(int, String, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendDocumentRequest
 
sendLocation(float, float) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendLocation(float, float, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendLocation(int, float, float) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendLocation(int, float, float, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
Use this method to send point on the map.
SendLocationRequest - Class in co.vandenham.telegram.botapi.requests
 
SendLocationRequest(int, float, float) - Constructor for class co.vandenham.telegram.botapi.requests.SendLocationRequest
 
SendLocationRequest(int, float, float, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendLocationRequest
 
sendMessage(String) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendMessage(String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendMessage(int, String) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendMessage(int, String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
Use this method to send text messages.
SendMessageRequest - Class in co.vandenham.telegram.botapi.requests
 
SendMessageRequest(int, String) - Constructor for class co.vandenham.telegram.botapi.requests.SendMessageRequest
 
SendMessageRequest(int, String, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendMessageRequest
 
sendPhoto(File) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendPhoto(File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendPhoto(String) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendPhoto(String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendPhoto(int, File) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendPhoto(int, File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
Use this method to send photos.
sendPhoto(int, String) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendPhoto(int, String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
This version takes a file id instead of a File
SendPhotoRequest - Class in co.vandenham.telegram.botapi.requests
 
SendPhotoRequest(int, File) - Constructor for class co.vandenham.telegram.botapi.requests.SendPhotoRequest
 
SendPhotoRequest(int, File, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendPhotoRequest
 
SendPhotoRequest(int, String) - Constructor for class co.vandenham.telegram.botapi.requests.SendPhotoRequest
 
SendPhotoRequest(int, String, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendPhotoRequest
 
sendSticker(File) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendSticker(File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendSticker(String) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendSticker(String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendSticker(int, File) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendSticker(int, File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
Use this method to send .webp stickers.
sendSticker(int, String) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendSticker(int, String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
This version takes a file id instead of a File.
SendStickerRequest - Class in co.vandenham.telegram.botapi.requests
 
SendStickerRequest(int, File) - Constructor for class co.vandenham.telegram.botapi.requests.SendStickerRequest
 
SendStickerRequest(int, File, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendStickerRequest
 
SendStickerRequest(int, String) - Constructor for class co.vandenham.telegram.botapi.requests.SendStickerRequest
 
SendStickerRequest(int, String, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendStickerRequest
 
sendVideo(File) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendVideo(File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendVideo(String) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendVideo(String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendVideo(int, File) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendVideo(int, File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as Document (TelegramBot.sendDocument(int, File, OptionalArgs))).
sendVideo(int, String) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendVideo(int, String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
This version uses a file id rather than a File
SendVideoRequest - Class in co.vandenham.telegram.botapi.requests
 
SendVideoRequest(int, File) - Constructor for class co.vandenham.telegram.botapi.requests.SendVideoRequest
 
SendVideoRequest(int, File, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendVideoRequest
 
SendVideoRequest(int, String) - Constructor for class co.vandenham.telegram.botapi.requests.SendVideoRequest
 
SendVideoRequest(int, String, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendVideoRequest
 
sendVoice(int, File) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendVoice(int, File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendVoice(int, String) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendVoice(int, String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.ChatContext
 
sendVoice(int, File) - Method in class co.vandenham.telegram.botapi.TelegramBot
 
sendVoice(int, File, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.
sendVoice(int, String) - Method in class co.vandenham.telegram.botapi.TelegramBot
This version uses a String rather than a File.
sendVoice(int, String, OptionalArgs) - Method in class co.vandenham.telegram.botapi.TelegramBot
This version uses a String rather than a File
SendVoiceRequest - Class in co.vandenham.telegram.botapi.requests
 
SendVoiceRequest(int, File) - Constructor for class co.vandenham.telegram.botapi.requests.SendVoiceRequest
 
SendVoiceRequest(int, File, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendVoiceRequest
 
SendVoiceRequest(int, String) - Constructor for class co.vandenham.telegram.botapi.requests.SendVoiceRequest
 
SendVoiceRequest(int, String, OptionalArgs) - Constructor for class co.vandenham.telegram.botapi.requests.SendVoiceRequest
 
serialize() - Method in class co.vandenham.telegram.botapi.types.ForceReply
Serializes this object to a JSON String.
serialize() - Method in class co.vandenham.telegram.botapi.types.ReplyKeyboardHide
Serializes this object to a JSON String.
serialize() - Method in class co.vandenham.telegram.botapi.types.ReplyKeyboardMarkup
Serializes this object to a JSON String.
serialize() - Method in interface co.vandenham.telegram.botapi.types.ReplyMarkup
 
setOneTimeKeyboard() - Method in class co.vandenham.telegram.botapi.types.ReplyKeyboardMarkup.Builder
Requests clients to hide the keyboard as soon as it's been used.
setResizeKeyboard() - Method in class co.vandenham.telegram.botapi.types.ReplyKeyboardMarkup.Builder
Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons).
setSelective() - Method in class co.vandenham.telegram.botapi.types.ReplyKeyboardMarkup.Builder
Use this parameter if you want to show the keyboard to specific users only.
start() - Method in class co.vandenham.telegram.botapi.TelegramBot
Starts the bot.
Sticker - Class in co.vandenham.telegram.botapi.types
This object represents a sticker.
Sticker() - Constructor for class co.vandenham.telegram.botapi.types.Sticker
 
stop() - Method in class co.vandenham.telegram.botapi.TelegramBot
Stops the bot and joins the polling Thread.

T

TelegramApi - Class in co.vandenham.telegram.botapi.requests
 
TelegramApi(String) - Constructor for class co.vandenham.telegram.botapi.requests.TelegramApi
 
TelegramBot - Class in co.vandenham.telegram.botapi
This class represents a TelegramBot.
TelegramBot(String) - Constructor for class co.vandenham.telegram.botapi.TelegramBot
Convenience constructor for TelegramBot(botToken, true)
TelegramBot(String, boolean) - Constructor for class co.vandenham.telegram.botapi.TelegramBot
Constructs a TelegramBot using the provided botToken, If sendAsync is true, the bot invokes all sendXXX methods asynchronously.
timeout(int) - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 
title(String) - Method in class co.vandenham.telegram.botapi.requests.OptionalArgs
 
toString() - Method in exception co.vandenham.telegram.botapi.requests.ApiException
 
toString() - Method in class co.vandenham.telegram.botapi.requests.ForwardMessageRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.GetMeRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.GetUpdatesRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.GetUserProfilePhotosRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.SendAudioRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.SendChatActionRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.SendDocumentRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.SendLocationRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.SendMessageRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.SendPhotoRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.SendStickerRequest
 
toString() - Method in class co.vandenham.telegram.botapi.requests.SendVideoRequest
 
toString() - Method in class co.vandenham.telegram.botapi.types.Audio
 
toString() - Method in class co.vandenham.telegram.botapi.types.Chat
 
toString() - Method in class co.vandenham.telegram.botapi.types.Document
 
toString() - Method in class co.vandenham.telegram.botapi.types.ForceReply
 
toString() - Method in class co.vandenham.telegram.botapi.types.GroupChat
 
toString() - Method in class co.vandenham.telegram.botapi.types.Location
 
toString() - Method in class co.vandenham.telegram.botapi.types.Message
 
toString() - Method in class co.vandenham.telegram.botapi.types.PhotoSize
 
toString() - Method in class co.vandenham.telegram.botapi.types.ReplyKeyboardMarkup
 
toString() - Method in class co.vandenham.telegram.botapi.types.Sticker
 
toString() - Method in class co.vandenham.telegram.botapi.types.User
 
toString() - Method in class co.vandenham.telegram.botapi.types.UserProfilePhotos
 
toString() - Method in class co.vandenham.telegram.botapi.types.Video
 
toString() - Method in class co.vandenham.telegram.botapi.types.Voice
 

U

unregister(RegistrableTelegramBot.MessageListener) - Method in class co.vandenham.telegram.botapi.RegistrableTelegramBot
 
Update - Class in co.vandenham.telegram.botapi.types
This object represents an incoming update.
Update() - Constructor for class co.vandenham.telegram.botapi.types.Update
 
User - Class in co.vandenham.telegram.botapi.types
This object represents a Telegram user or bot.
User() - Constructor for class co.vandenham.telegram.botapi.types.User
Parameterless constructor for gson.
User(int, String, String, String) - Constructor for class co.vandenham.telegram.botapi.types.User
 
UserProfilePhotos - Class in co.vandenham.telegram.botapi.types
This object represent a user's profile pictures.
UserProfilePhotos() - Constructor for class co.vandenham.telegram.botapi.types.UserProfilePhotos
 

V

valueOf(String) - Static method in enum co.vandenham.telegram.botapi.requests.ChatAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum co.vandenham.telegram.botapi.types.Message.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum co.vandenham.telegram.botapi.requests.ChatAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum co.vandenham.telegram.botapi.types.Message.Type
Returns an array containing the constants of this enum type, in the order they are declared.
Video - Class in co.vandenham.telegram.botapi.types
This object represents a video file.
Video() - Constructor for class co.vandenham.telegram.botapi.types.Video
 
Voice - Class in co.vandenham.telegram.botapi.types
 
Voice() - Constructor for class co.vandenham.telegram.botapi.types.Voice
 
A B C D E F G H I L M N O P R S T U V 
Skip navigation links