A B C D E F G H I K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addStickerToSet(Integer, String, File, File, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to add a new sticker to a set created by the bot.
- addStickerToSet(Integer, String, Object, String, MaskPosition) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to add a new sticker to a set created by the bot.
- addStickerToSet(Integer, String, Object, String, MaskPosition) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- addStickerToSet(Integer, String, String, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to add a new sticker to a set created by the bot.
- ADMINISTRATOR - com.cadiducho.telegrambotapi.ChatMember.ChatMemberStatus
- Animation - Class in com.cadiducho.telegrambotapi
-
This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
- Animation() - Constructor for class com.cadiducho.telegrambotapi.Animation
- ANIMATION - com.cadiducho.telegrambotapi.Message.Type
- answerCallbackQuery(String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send answers to callback queries sent from inline keyboards.
- answerCallbackQuery(String, String, Boolean, String, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send answers to callback queries sent from inline keyboards.
- answerCallbackQuery(String, String, Boolean, String, Integer) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- answerInlineQuery(String, List<InlineQueryResult>) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send answers to an inline query.
- answerInlineQuery(String, List<InlineQueryResult>, Integer, Boolean, String, String, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send answers to an inline query.
- answerInlineQuery(String, List<InlineQueryResult>, Integer, Boolean, String, String, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- answerPreCheckoutQuery(String, Boolean) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query.
- answerPreCheckoutQuery(String, Boolean, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query.
- answerPreCheckoutQuery(String, Boolean, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- answerShippingQuery(String, Boolean) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot.
- answerShippingQuery(String, Boolean, List<ShippingOption>, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot.
- answerShippingQuery(String, Boolean, List<ShippingOption>, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- ApiResponse<T> - Class in com.cadiducho.telegrambotapi.util
-
A container that parse an API response
- ApiResponse() - Constructor for class com.cadiducho.telegrambotapi.util.ApiResponse
- asUser() - Method in class com.cadiducho.telegrambotapi.Chat
-
Returns this chat as a
User
. - Audio - Class in com.cadiducho.telegrambotapi
-
This object represents an audio file to be treated as music by the https://github.com/Cadiducho/Telegram-Bot-API/blob/master/LICENSE clients.
- Audio() - Constructor for class com.cadiducho.telegrambotapi.Audio
- AUDIO - com.cadiducho.telegrambotapi.Message.Type
B
- BotAPI - Interface in com.cadiducho.telegrambotapi
-
Interface to build Telegrams Bots Telegram Bot API version 4.6
- BotAPI.ChatAction - Enum in com.cadiducho.telegrambotapi
-
Types of ChatAction.
- BotCommand - Class in com.cadiducho.telegrambotapi
-
This object represents a bot command.
- BotCommand() - Constructor for class com.cadiducho.telegrambotapi.BotCommand
- BotUpdatesPoller - Interface in com.cadiducho.telegrambotapi.handlers
- build() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Builds a new instance of
ExponentialBackOff
. - Builder() - Constructor for class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
C
- CallbackQuery - Class in com.cadiducho.telegrambotapi
-
This object represents an incoming callback query from a callback button in an inline keyboard.
- CallbackQuery() - Constructor for class com.cadiducho.telegrambotapi.CallbackQuery
- caption - Variable in class com.cadiducho.telegrambotapi.InputMedia
-
Optional.
- CHANNEL - com.cadiducho.telegrambotapi.Chat.ChatType
- CHANNEL_CHAT_CREATED - com.cadiducho.telegrambotapi.Message.Type
- Chat - Class in com.cadiducho.telegrambotapi
-
Represents a chat.
- Chat() - Constructor for class com.cadiducho.telegrambotapi.Chat
- Chat.ChatType - Enum in com.cadiducho.telegrambotapi
- ChatMember - Class in com.cadiducho.telegrambotapi
-
This object contains information about one member of the chat.
- ChatMember() - Constructor for class com.cadiducho.telegrambotapi.ChatMember
- ChatMember.ChatMemberStatus - Enum in com.cadiducho.telegrambotapi
- ChatPermissions - Class in com.cadiducho.telegrambotapi
-
Describes actions that a non-administrator user is allowed to take in a chat.
- ChatPermissions() - Constructor for class com.cadiducho.telegrambotapi.ChatPermissions
- ChatPhoto - Class in com.cadiducho.telegrambotapi
-
This object represents a sticker set.
- ChatPhoto() - Constructor for class com.cadiducho.telegrambotapi.ChatPhoto
- ChosenInlineResult - Class in com.cadiducho.telegrambotapi.inline
-
This object represents a result of an inline query that was chosen by the user and sent to their chat partner.
- ChosenInlineResult() - Constructor for class com.cadiducho.telegrambotapi.inline.ChosenInlineResult
- com.cadiducho.telegrambotapi - package com.cadiducho.telegrambotapi
- com.cadiducho.telegrambotapi.exception - package com.cadiducho.telegrambotapi.exception
- com.cadiducho.telegrambotapi.game - package com.cadiducho.telegrambotapi.game
- com.cadiducho.telegrambotapi.handlers - package com.cadiducho.telegrambotapi.handlers
- com.cadiducho.telegrambotapi.inline - package com.cadiducho.telegrambotapi.inline
- com.cadiducho.telegrambotapi.payment - package com.cadiducho.telegrambotapi.payment
- com.cadiducho.telegrambotapi.util - package com.cadiducho.telegrambotapi.util
- CONNECTED_WEBSITE - com.cadiducho.telegrambotapi.Message.Type
- Contact - Class in com.cadiducho.telegrambotapi
-
This object represents a phone contact.
- Contact() - Constructor for class com.cadiducho.telegrambotapi.Contact
- CONTACT - com.cadiducho.telegrambotapi.Message.Type
- createNewStickerSet(Integer, String, String, File, File, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to create new sticker set owned by a user.
- createNewStickerSet(Integer, String, String, Object, File, String, Boolean, MaskPosition) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to create new sticker set owned by a user.
- createNewStickerSet(Integer, String, String, Object, File, String, Boolean, MaskPosition) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- createNewStickerSet(Integer, String, String, String, File, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to create new sticker set owned by a user.
- CREATOR - com.cadiducho.telegrambotapi.ChatMember.ChatMemberStatus
D
- DEFAULT_INITIAL_INTERVAL_MILLIS - Static variable in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
The default initial interval value in milliseconds (0.5 seconds).
- DEFAULT_MAX_ELAPSED_TIME_MILLIS - Static variable in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
The default maximum elapsed time in milliseconds (60 minutes).
- DEFAULT_MAX_INTERVAL_MILLIS - Static variable in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
The default maximum back off time in milliseconds (15 minutes).
- DEFAULT_MULTIPLIER - Static variable in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
The default multiplier value (1.5 which is 50% increase per back off).
- DEFAULT_RANDOMIZATION_FACTOR - Static variable in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
The default randomization factor (0.5 which results in a random period ranging between 50% below and 50% above the retry interval).
- DefaultBotUpdatesPoller - Class in com.cadiducho.telegrambotapi.handlers
- DefaultBotUpdatesPoller() - Constructor for class com.cadiducho.telegrambotapi.handlers.DefaultBotUpdatesPoller
- DELETE_CHAT_PHOTO - com.cadiducho.telegrambotapi.Message.Type
- deleteChatPhoto(Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to delete a chat photo.
- deleteChatPhoto(Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- deleteChatStickerSet(Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to delete a group sticker set from a supergroup.
- deleteChatStickerSet(Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- deleteMessage(Object, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to delete a message, including service messages, with the following limitations: - A message can only be deleted if it was sent less than 48 hours ago
- deleteMessage(Object, Integer) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- deleteStickerFromSet(String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to delete a sticker from a set created by the bot.
- deleteStickerFromSet(String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- deleteWebhook() - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to remove webhook integration if you decide to switch back to
BotAPI.getUpdates(java.lang.Integer, java.lang.Integer, java.lang.Integer, java.util.List<java.lang.String>)
. - deleteWebhook() - Method in class com.cadiducho.telegrambotapi.TelegramBot
- Dice - Class in com.cadiducho.telegrambotapi
-
This object represents a dice with random value from 1 to 6.
- Dice() - Constructor for class com.cadiducho.telegrambotapi.Dice
- Document - Class in com.cadiducho.telegrambotapi
-
This object represents a general file (as opposed to photos, voice messages and audio files).
- Document() - Constructor for class com.cadiducho.telegrambotapi.Document
- DOCUMENT - com.cadiducho.telegrambotapi.Message.Type
E
- editMessageCaption(Object, Integer, String, String, ParseMode, InlineKeyboardMarkup) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to edit captions of messages sent by the bot or via the bot (for inline bots).
- editMessageCaption(Object, Integer, String, String, ParseMode, InlineKeyboardMarkup) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- editMessageLiveLocation(Object, Integer, String, Float, Float, InlineKeyboardMarkup) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to edit live location messages sent by the bot or via the bot (for inline bots).
- editMessageLiveLocation(Object, Integer, String, Float, Float, InlineKeyboardMarkup) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- editMessageMedia(Object, Integer, String, InputMedia, InlineKeyboardMarkup) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to edit audio, document, photo, or video messages.
- editMessageMedia(Object, Integer, String, InputMedia, InlineKeyboardMarkup) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- editMessageReplyMarkup(Object, Integer, String, InlineKeyboardMarkup) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to edit only the reply markup of messages sent by the bot or via the bot (for inline bots).
- editMessageReplyMarkup(Object, Integer, String, InlineKeyboardMarkup) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- editMessageText(Object, Integer, String, String, ParseMode, Boolean, InlineKeyboardMarkup) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to edit text and game messages sent by the bot or via the bot (for inline bots).
- editMessageText(Object, Integer, String, String, ParseMode, Boolean, InlineKeyboardMarkup) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- ExceptionHandler - Interface in com.cadiducho.telegrambotapi.handlers
- ExponentialBackOff - Class in com.cadiducho.telegrambotapi.handlers
-
Implementation of BackOff that increases the back off period for each retry attempt using a randomization function that grows exponentially.
- ExponentialBackOff() - Constructor for class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
Creates an instance of ExponentialBackOffPolicy using default values.
- ExponentialBackOff(ExponentialBackOff.Builder) - Constructor for class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
- ExponentialBackOff.Builder - Class in com.cadiducho.telegrambotapi.handlers
-
Builder for
ExponentialBackOff
. - exportChatInviteLink(Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to generate a new invite link for a chat; any previously generated link is revoked.
- exportChatInviteLink(Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
F
- File - Class in com.cadiducho.telegrambotapi
-
This object represents a file ready to be downloaded.
- File() - Constructor for class com.cadiducho.telegrambotapi.File
- find_location - com.cadiducho.telegrambotapi.BotAPI.ChatAction
- ForceReply - Class in com.cadiducho.telegrambotapi
-
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').
- ForceReply() - Constructor for class com.cadiducho.telegrambotapi.ForceReply
- forwardMessage(Object, Integer, Boolean, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to forward messages of any kind.
- forwardMessage(Object, Integer, Boolean, Integer) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- forwardMessage(Object, Integer, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to forward messages of any kind.
- from(String, Type) - Static method in class com.cadiducho.telegrambotapi.util.ApiResponse
-
Create an ApiResponse object from a String
- from(BufferedSource, Type) - Static method in class com.cadiducho.telegrambotapi.util.ApiResponse
-
Create an ApiResponse object from a BufferedSource
G
- Game - Class in com.cadiducho.telegrambotapi.game
-
This object represents a game.
- Game() - Constructor for class com.cadiducho.telegrambotapi.game.Game
- GAME - com.cadiducho.telegrambotapi.Message.Type
- GameHighScore - Class in com.cadiducho.telegrambotapi.game
-
This object represents one row of the high scores table for a game.
- GameHighScore() - Constructor for class com.cadiducho.telegrambotapi.game.GameHighScore
- getChat(Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.).
- getChat(Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getChatAdministrators(Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
- getChatAdministrators(Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getChatMember(Object, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
- getChatMember(Object, Integer) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getChatMembersCount(Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to get the number of members in a chat.
- getChatMembersCount(Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getChatMemberStatus() - Method in class com.cadiducho.telegrambotapi.ChatMember
-
The member's status in the chat.
- getChatType() - Method in class com.cadiducho.telegrambotapi.Chat
- getCurrentIntervalMillis() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
Returns the current retry interval in milliseconds.
- getElapsedTimeMillis() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
Returns the elapsed time in milliseconds since an
ExponentialBackOff
instance is created and is reset whenExponentialBackOff.reset()
is called. - getFile(String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to get basic info about a file and prepare it for downloading.
- getFile(String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getGameHighScores(Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to get data for high score tables.
- getGameHighScores(Integer, Object, Integer, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to get data for high score tables.
- getGameHighScores(Integer, Object, Integer, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getInitialIntervalMillis() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Returns the initial retry interval in milliseconds.
- getInitialIntervalMillis() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
Returns the initial retry interval in milliseconds.
- getInstance() - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Get Bot instance
- getMaxElapsedTimeMillis() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Returns the maximum elapsed time in milliseconds.
- getMaxElapsedTimeMillis() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
Returns the maximum elapsed time in milliseconds.
- getMaxIntervalMillis() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Returns the maximum value of the back off period in milliseconds.
- getMaxIntervalMillis() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
Returns the maximum value of the back off period in milliseconds.
- getMe() - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
A simple method for testing your bot's auth token.
- getMe() - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getMultiplier() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Returns the value to multiply the current interval with for each retry attempt.
- getMultiplier() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
Returns the value to multiply the current interval with for each retry attempt.
- getMyCommands() - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to get the current list of the bot's commands.
- getMyCommands() - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getRandomizationFactor() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Returns the randomization factor to use for creating a range around the retry interval.
- getRandomizationFactor() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
Returns the randomization factor to use for creating a range around the retry interval.
- getStickerSet(String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to get a sticker set.
- getStickerSet(String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getType() - Method in class com.cadiducho.telegrambotapi.Message
-
Returns the
Message.Type
of this Message. - getUpdates() - Method in interface com.cadiducho.telegrambotapi.handlers.UpdatesSupplier
- getUpdates(Integer, Integer, Integer, List<String>) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to receive incoming updates using long polling (wiki).
- getUpdates(Integer, Integer, Integer, List<String>) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getUpdatesPoller() - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Get the UpdatesPoller instance
- getUserProfilePhotos(Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to get a list of profile pictures for a user.
- getUserProfilePhotos(Integer, Integer, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to get a list of profile pictures for a user.
- getUserProfilePhotos(Integer, Integer, Integer) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- getWebhookInfo() - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to get current webhook status.
- getWebhookInfo() - Method in class com.cadiducho.telegrambotapi.TelegramBot
- GROUP - com.cadiducho.telegrambotapi.Chat.ChatType
- GROUP_CHAT_CREATED - com.cadiducho.telegrambotapi.Message.Type
H
- handle(TelegramException) - Method in interface com.cadiducho.telegrambotapi.handlers.ExceptionHandler
- handleUpdate(Update) - Method in interface com.cadiducho.telegrambotapi.handlers.LongPollingHandler
-
Called when an update is received by the bot
- HTML - com.cadiducho.telegrambotapi.ParseMode
I
- id - Variable in class com.cadiducho.telegrambotapi.inline.InlineQueryResult
-
Unique identifier for this result, 1-64 Bytes
- InlineKeyboardButton - Class in com.cadiducho.telegrambotapi.inline
-
This object represents one button of an inline keyboard.
- InlineKeyboardButton() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineKeyboardButton
- InlineKeyboardMarkup - Class in com.cadiducho.telegrambotapi.inline
-
This object represents an inline keyboard that appears right next to the message it belongs to.
- InlineKeyboardMarkup() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineKeyboardMarkup
- InlineQuery - Class in com.cadiducho.telegrambotapi.inline
-
This object represents an incoming inline query.
- InlineQuery() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQuery
- InlineQueryResult - Class in com.cadiducho.telegrambotapi.inline
-
This object represents one result of an inline query.
- InlineQueryResult(String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResult
- InlineQueryResultArticle - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to an article or web page.
- InlineQueryResultArticle() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultArticle
- InlineQueryResultArticle(String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultArticle
- InlineQueryResultArticle(String, String, ParseMode, Boolean, String, Boolean, String, String, Integer, Integer, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultArticle
- InlineQueryResultAudio - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to an mp3 audio file.
- InlineQueryResultAudio() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultAudio
- InlineQueryResultAudio(String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultAudio
- InlineQueryResultAudio(String, String, String, String, Integer, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultAudio
- InlineQueryResultCachedAudio - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to an mp3 audio file stored on the Telegram servers.
- InlineQueryResultCachedAudio() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedAudio
- InlineQueryResultCachedAudio(String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedAudio
- InlineQueryResultCachedAudio(String, String, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedAudio
- InlineQueryResultCachedDocument - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a file.
- InlineQueryResultCachedDocument() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedDocument
- InlineQueryResultCachedDocument(String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedDocument
- InlineQueryResultCachedDocument(String, String, String, String, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedDocument
- InlineQueryResultCachedGif - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to an animated GIF file stored on the Telegram servers.
- InlineQueryResultCachedGif() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedGif
- InlineQueryResultCachedGif(String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedGif
- InlineQueryResultCachedGif(String, String, String, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedGif
- InlineQueryResultCachedMpeg4Gif - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers.
- InlineQueryResultCachedMpeg4Gif() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedMpeg4Gif
- InlineQueryResultCachedMpeg4Gif(String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedMpeg4Gif
- InlineQueryResultCachedMpeg4Gif(String, String, String, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedMpeg4Gif
- InlineQueryResultCachedPhoto - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a photo stored on the Telegram servers.
- InlineQueryResultCachedPhoto() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedPhoto
- InlineQueryResultCachedPhoto(String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedPhoto
- InlineQueryResultCachedPhoto(String, String, String, String, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedPhoto
- InlineQueryResultCachedSticker - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a sticker stored on the Telegram servers.
- InlineQueryResultCachedSticker() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedSticker
- InlineQueryResultCachedSticker(String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedSticker
- InlineQueryResultCachedSticker(String, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedSticker
- InlineQueryResultCachedVideo - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a video file stored on the Telegram servers.
- InlineQueryResultCachedVideo() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedVideo
- InlineQueryResultCachedVideo(String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedVideo
- InlineQueryResultCachedVideo(String, String, String, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedVideo
- InlineQueryResultCachedVoice - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a voice message stored on the Telegram servers By default, this voice recording will be sent by the user.
- InlineQueryResultCachedVoice() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedVoice
- InlineQueryResultCachedVoice(String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedVoice
- InlineQueryResultCachedVoice(String, String, String, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedVoice
- InlineQueryResultContact - Class in com.cadiducho.telegrambotapi.inline
-
Represents a location on a map.
- InlineQueryResultContact() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultContact
- InlineQueryResultContact(String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultContact
- InlineQueryResultContact(String, String, String, String, Integer, Integer, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultContact
- InlineQueryResultDocument - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a file.
- InlineQueryResultDocument() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultDocument
- InlineQueryResultDocument(String, String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultDocument
- InlineQueryResultDocument(String, String, String, String, String, String, Integer, Integer, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultDocument
- InlineQueryResultGif - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to an animated GIF file.
- InlineQueryResultGif() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultGif
- InlineQueryResultGif(String, Integer, Integer, String, String, String, ParseMode, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultGif
- InlineQueryResultGif(String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultGif
- InlineQueryResultLocation - Class in com.cadiducho.telegrambotapi.inline
-
Represents a location on a map.
- InlineQueryResultLocation() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultLocation
- InlineQueryResultLocation(String, Float, Float) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultLocation
- InlineQueryResultLocation(String, Float, Float, String, Integer, Integer, Integer, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultLocation
- InlineQueryResultMpeg4Gif - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a video animation (H.264/MPEG-4 AVC video without sound).
- InlineQueryResultMpeg4Gif() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultMpeg4Gif
- InlineQueryResultMpeg4Gif(String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultMpeg4Gif
- InlineQueryResultMpeg4Gif(String, String, Integer, Integer, String, String, ParseMode, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultMpeg4Gif
- InlineQueryResultPhoto - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a photo.
- InlineQueryResultPhoto() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultPhoto
- InlineQueryResultPhoto(String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultPhoto
- InlineQueryResultPhoto(String, String, Integer, Integer, String, String, String, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultPhoto
- InlineQueryResultVenue - Class in com.cadiducho.telegrambotapi.inline
-
Represents a venue.
- InlineQueryResultVenue() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultVenue
- InlineQueryResultVenue(String, String, Float, Float) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultVenue
- InlineQueryResultVenue(String, String, String, String, Float, Float, String, Integer, Integer, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultVenue
- InlineQueryResultVideo - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a video file stored on the Telegram servers.
- InlineQueryResultVideo() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultVideo
- InlineQueryResultVideo(String, String, String, ParseMode, Boolean, Integer, Integer, Integer, String, String, String, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultVideo
- InlineQueryResultVideo(String, String, String, String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultVideo
- InlineQueryResultVoice - Class in com.cadiducho.telegrambotapi.inline
-
Represents a link to a voice recording in an .ogg container encoded with OPUS.
- InlineQueryResultVoice() - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultVoice
- InlineQueryResultVoice(String, String) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultVoice
- InlineQueryResultVoice(String, String, String, Integer, InlineKeyboardMarkup, InputMessageContent) - Constructor for class com.cadiducho.telegrambotapi.inline.InlineQueryResultVoice
- InputContactMessageContent - Class in com.cadiducho.telegrambotapi.inline
-
Represents the content of a contact message to be sent as the result of an inline query.
- InputContactMessageContent() - Constructor for class com.cadiducho.telegrambotapi.inline.InputContactMessageContent
- InputLocationMessageContent - Class in com.cadiducho.telegrambotapi.inline
-
Represents the content of a location message to be sent as the result of an inline query.
- InputLocationMessageContent() - Constructor for class com.cadiducho.telegrambotapi.inline.InputLocationMessageContent
- InputMedia - Class in com.cadiducho.telegrambotapi
-
This object represents the content of a media message to be sent.
- InputMedia() - Constructor for class com.cadiducho.telegrambotapi.InputMedia
- InputMediaAnimation - Class in com.cadiducho.telegrambotapi
-
Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.
- InputMediaAnimation(String, String, ParseMode) - Constructor for class com.cadiducho.telegrambotapi.InputMediaAnimation
- InputMediaAudio - Class in com.cadiducho.telegrambotapi
-
Represents an audio file to be treated as music to be sent.
- InputMediaAudio(String, Object, String, ParseMode, Integer, String, String) - Constructor for class com.cadiducho.telegrambotapi.InputMediaAudio
- InputMediaDocument - Class in com.cadiducho.telegrambotapi
-
Represents a general file to be sent.
- InputMediaDocument(String, Object, String, ParseMode) - Constructor for class com.cadiducho.telegrambotapi.InputMediaDocument
- InputMediaPhoto - Class in com.cadiducho.telegrambotapi
-
Represents a photo to be sent.
- InputMediaPhoto(String, String, ParseMode) - Constructor for class com.cadiducho.telegrambotapi.InputMediaPhoto
- InputMediaVideo - Class in com.cadiducho.telegrambotapi
-
Represents a video to be sent.
- InputMediaVideo(String, Object, String, ParseMode, Integer, Integer, Integer, Boolean) - Constructor for class com.cadiducho.telegrambotapi.InputMediaVideo
- inputMessageContent - Variable in class com.cadiducho.telegrambotapi.inline.InlineQueryResult
-
Optional.
- InputMessageContent - Class in com.cadiducho.telegrambotapi.inline
-
This object represents the content of a message to be sent as a result of an inline query.
- InputMessageContent() - Constructor for class com.cadiducho.telegrambotapi.inline.InputMessageContent
- InputTextMessageContent - Class in com.cadiducho.telegrambotapi.inline
-
Represents the content of a text message to be sent as the result of an inline query.
- InputTextMessageContent() - Constructor for class com.cadiducho.telegrambotapi.inline.InputTextMessageContent
- InputVenueMessageContent - Class in com.cadiducho.telegrambotapi.inline
-
Represents the content of a venue message to be sent as the result of an inline query.
- InputVenueMessageContent() - Constructor for class com.cadiducho.telegrambotapi.inline.InputVenueMessageContent
- Invoice - Class in com.cadiducho.telegrambotapi.payment
-
This object contains basic information about an invoice.
- Invoice() - Constructor for class com.cadiducho.telegrambotapi.payment.Invoice
- INVOICE - com.cadiducho.telegrambotapi.Message.Type
- isGroupChat() - Method in class com.cadiducho.telegrambotapi.Chat
- isUser() - Method in class com.cadiducho.telegrambotapi.Chat
K
- KeyboardButton - Class in com.cadiducho.telegrambotapi
-
This object represents one button of the reply keyboard.
- KeyboardButton() - Constructor for class com.cadiducho.telegrambotapi.KeyboardButton
- KeyboardButtonPollType - Class in com.cadiducho.telegrambotapi
-
This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
- KeyboardButtonPollType() - Constructor for class com.cadiducho.telegrambotapi.KeyboardButtonPollType
- kickChatMember(Object, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to kick a user from a group or a supergroup.
- kickChatMember(Object, Integer, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to kick a user from a group or a supergroup.
- kickChatMember(Object, Integer, Integer) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- KICKED - com.cadiducho.telegrambotapi.ChatMember.ChatMemberStatus
L
- LabeledPrice - Class in com.cadiducho.telegrambotapi.payment
-
This object represents a portion of the price for goods or services.
- LabeledPrice() - Constructor for class com.cadiducho.telegrambotapi.payment.LabeledPrice
- leaveChat(Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method for your bot to leave a group, supergroup or channel.
- leaveChat(Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- LEFT - com.cadiducho.telegrambotapi.ChatMember.ChatMemberStatus
- LEFT_CHAT_MEMBER - com.cadiducho.telegrambotapi.Message.Type
- Location - Class in com.cadiducho.telegrambotapi
-
This object represents a point on the map.
- Location() - Constructor for class com.cadiducho.telegrambotapi.Location
- LOCATION - com.cadiducho.telegrambotapi.Message.Type
- LoginUrl - Class in com.cadiducho.telegrambotapi
-
This object represents a parameter of the inline keyboard button used to automatically authorize a user.
- LoginUrl() - Constructor for class com.cadiducho.telegrambotapi.LoginUrl
- LongPollingHandler - Interface in com.cadiducho.telegrambotapi.handlers
-
Interface ready to be overrided by other Telegram Bot API implementations
M
- MARKDOWN - com.cadiducho.telegrambotapi.ParseMode
- MARKDOWNV2 - com.cadiducho.telegrambotapi.ParseMode
- MaskPosition - Class in com.cadiducho.telegrambotapi
-
This object describes the position on faces where a mask should be placed by default.
- MaskPosition() - Constructor for class com.cadiducho.telegrambotapi.MaskPosition
- media - Variable in class com.cadiducho.telegrambotapi.InputMedia
-
File to send.
- MEDIA_TYPE_APPLICATION - Static variable in class com.cadiducho.telegrambotapi.util.MediaTypes
- MEDIA_TYPE_AUDIO - Static variable in class com.cadiducho.telegrambotapi.util.MediaTypes
- MEDIA_TYPE_PHOTO - Static variable in class com.cadiducho.telegrambotapi.util.MediaTypes
- MEDIA_TYPE_VIDEO - Static variable in class com.cadiducho.telegrambotapi.util.MediaTypes
- MediaTypes - Class in com.cadiducho.telegrambotapi.util
- MediaTypes() - Constructor for class com.cadiducho.telegrambotapi.util.MediaTypes
- MEMBER - com.cadiducho.telegrambotapi.ChatMember.ChatMemberStatus
- Message - Class in com.cadiducho.telegrambotapi
-
This object represents a message.
- Message() - Constructor for class com.cadiducho.telegrambotapi.Message
- Message.Type - Enum in com.cadiducho.telegrambotapi
-
Defines the different types of Messages that can be received.
- MessageEntity - Class in com.cadiducho.telegrambotapi
-
This object represents one special entity in a text message.
- MessageEntity() - Constructor for class com.cadiducho.telegrambotapi.MessageEntity
- MIGRATE_FROM_CHAT_ID - com.cadiducho.telegrambotapi.Message.Type
- MIGRATE_TO_CHAT_ID - com.cadiducho.telegrambotapi.Message.Type
N
- NEW_CHAT_MEMBERS - com.cadiducho.telegrambotapi.Message.Type
- NEW_CHAT_PHOTO - com.cadiducho.telegrambotapi.Message.Type
- NEW_CHAT_TITLE - com.cadiducho.telegrambotapi.Message.Type
- nextBackOffMillis() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
This method calculates the next back off interval using the formula: randomized_interval = retry_interval +/- (randomization_factor * retry_interval)
O
- OrderInfo - Class in com.cadiducho.telegrambotapi.payment
-
This object represents information about an order.
- OrderInfo() - Constructor for class com.cadiducho.telegrambotapi.payment.OrderInfo
P
- parseMode - Variable in class com.cadiducho.telegrambotapi.InputMedia
-
Optional.
- ParseMode - Enum in com.cadiducho.telegrambotapi
-
Types of parse mode in a message
- PHOTO - com.cadiducho.telegrambotapi.Message.Type
- PhotoSize - Class in com.cadiducho.telegrambotapi
-
This object represents one size of a photo or a file / sticker thumbnail.
- PhotoSize() - Constructor for class com.cadiducho.telegrambotapi.PhotoSize
- pinChatMessage(Object, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to pin a message in a group, a supergroup, or a channel.
- pinChatMessage(Object, Integer, Boolean) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to pin a message in a supergroup.
- pinChatMessage(Object, Integer, Boolean) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- PINNED_MESSAGE - com.cadiducho.telegrambotapi.Message.Type
- Poll - Class in com.cadiducho.telegrambotapi
-
This object contains information about a poll.
- Poll() - Constructor for class com.cadiducho.telegrambotapi.Poll
- PollAnswer - Class in com.cadiducho.telegrambotapi
-
This object represents an answer of a user in a non-anonymous poll.
- PollAnswer() - Constructor for class com.cadiducho.telegrambotapi.PollAnswer
- PollOption - Class in com.cadiducho.telegrambotapi
-
This object contains information about a poll.
- PollOption() - Constructor for class com.cadiducho.telegrambotapi.PollOption
- PreCheckoutQuery - Class in com.cadiducho.telegrambotapi.payment
-
This object contains information about an incoming pre-checkout query.
- PreCheckoutQuery() - Constructor for class com.cadiducho.telegrambotapi.payment.PreCheckoutQuery
- PRIVATE - com.cadiducho.telegrambotapi.Chat.ChatType
- promoteChatMember(Object, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to promote or demote a user in a supergroup or a channel.
- promoteChatMember(Object, Integer, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to promote or demote a user in a supergroup or a channel.
- promoteChatMember(Object, Integer, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) - Method in class com.cadiducho.telegrambotapi.TelegramBot
R
- record_audio - com.cadiducho.telegrambotapi.BotAPI.ChatAction
- record_video - com.cadiducho.telegrambotapi.BotAPI.ChatAction
- record_video_note - com.cadiducho.telegrambotapi.BotAPI.ChatAction
- ReplyKeyboardMarkup - Class in com.cadiducho.telegrambotapi
-
This object represents a custom keyboard with reply options (see Introduction to bots for details and examples).
- ReplyKeyboardMarkup() - Constructor for class com.cadiducho.telegrambotapi.ReplyKeyboardMarkup
- ReplyKeyboardRemove - Class in com.cadiducho.telegrambotapi
-
Upon receiving a message with this object, Telegram clients will hide the current custom keyboard and display the default letter-keyboard.
- ReplyKeyboardRemove() - Constructor for class com.cadiducho.telegrambotapi.ReplyKeyboardRemove
- replyMarkup - Variable in class com.cadiducho.telegrambotapi.inline.InlineQueryResult
-
Optional.
- reset() - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff
-
Sets the interval back to the initial retry interval and restarts the timer.
- restrictChatMember(Object, Integer, ChatPermissions) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to restrict a user in a supergroup.The bot must be an administrator in the supergroup for this to work and must have the appropriate admin rights.
- restrictChatMember(Object, Integer, ChatPermissions, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
* Use this method to restrict a user in a supergroup.
- restrictChatMember(Object, Integer, ChatPermissions, Integer) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- RESTRICTED - com.cadiducho.telegrambotapi.ChatMember.ChatMemberStatus
- running() - Method in interface com.cadiducho.telegrambotapi.handlers.BotUpdatesPoller
-
Check if the bot poller is running
- running() - Method in class com.cadiducho.telegrambotapi.handlers.DefaultBotUpdatesPoller
S
- sendAnimation(Object, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound).
- sendAnimation(Object, Object, Integer, Integer, Integer, Object, String, ParseMode, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound).
- sendAnimation(Object, Object, Integer, Integer, Integer, Object, String, ParseMode, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendAnimation(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound).
- sendAudio(Object, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send audio files, if you want Telegram clients to display them in the music player.
- sendAudio(Object, Object, String, Integer, String, String, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send audio files, if you want Telegram clients to display them in the music player.
- sendAudio(Object, Object, String, Integer, String, String, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendAudio(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send audio files, if you want Telegram clients to display them in the music player.
- sendChatAction(Object, BotAPI.ChatAction) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method when you need to tell the user that something is happening on the bot's side.
- sendChatAction(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method when you need to tell the user that something is happening on the bot's side.
- sendChatAction(Object, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendContact(Object, String, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send phone contacts.
- sendContact(Object, String, String, String, String, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send phone contacts.
- sendContact(Object, String, String, String, String, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendDice(Object, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send a dice, which will have a random value from 1 to 6.
- sendDice(Object, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendDocument(Object, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send general files.
- sendDocument(Object, Object, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send general files.
- sendDocument(Object, Object, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendDocument(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send general files.
- sendGame(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send a game.
- sendGame(Object, String, Boolean, Integer, InlineKeyboardMarkup) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send a game.
- sendGame(Object, String, Boolean, Integer, InlineKeyboardMarkup) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendInvoice(Integer, String, String, String, String, String, String, List<LabeledPrice>) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send invoices.
- sendInvoice(Integer, String, String, String, String, String, String, List<LabeledPrice>, String, String, Integer, Integer, Integer, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Integer, InlineKeyboardMarkup) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send invoices.
- sendInvoice(Integer, String, String, String, String, String, String, List<LabeledPrice>, String, String, Integer, Integer, Integer, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Integer, InlineKeyboardMarkup) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendLocation(Object, Float, Float) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send point on the map.
- sendLocation(Object, Float, Float, Integer, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send point on the map.
- sendLocation(Object, Float, Float, Integer, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendMediaGroup(Object, List<InputMedia>) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send a group of photos or videos as an album.
- sendMediaGroup(Object, List<InputMedia>, Boolean, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send a group of photos or videos as an album.
- sendMediaGroup(Object, List<InputMedia>, Boolean, Integer) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendMessage(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send text messages.
- sendMessage(Object, String, ParseMode, Boolean, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send text messages.
- sendMessage(Object, String, ParseMode, Boolean, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendPhoto(Object, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send photos.
- sendPhoto(Object, Object, String, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send photos.
- sendPhoto(Object, Object, String, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendPhoto(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send photos.
- sendPoll(Object, String, List<String>) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send a native poll.
- sendPoll(Object, String, List<String>, Boolean, String, Boolean, Integer, Boolean, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send a native poll.
- sendPoll(Object, String, List<String>, Boolean, String, Boolean, Integer, Boolean, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendSticker(Object, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send static .WEBP or animated .TGS stickers.
- sendSticker(Object, Object, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send static .WEBP or animated .TGS stickers.
- sendSticker(Object, Object, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendSticker(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send static .WEBP or animated .TGS stickers.
- sendVenue(Object, Float, Float, String, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send information about a venue.
- sendVenue(Object, Float, Float, String, String, String, String, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send information about a venue.
- sendVenue(Object, Float, Float, String, String, String, String, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendVideo(Object, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as
Document
). - sendVideo(Object, Object, Integer, Integer, Integer, String, ParseMode, Boolean, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as
Document
). - sendVideo(Object, Object, Integer, Integer, Integer, String, ParseMode, Boolean, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendVideo(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as
Document
). - sendVideoNote(Object, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.
- sendVideoNote(Object, Object, Integer, Integer, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.
- sendVideoNote(Object, Object, Integer, Integer, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendVideoNote(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.
- sendVoice(Object, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.
- sendVoice(Object, Object, String, Integer, Boolean, Integer, Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.
- sendVoice(Object, Object, String, Integer, Boolean, Integer, Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- sendVoice(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.
- setChatAdministratorCustomTitle(Object, Integer, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to set a custom title for an administrator in a supergroup promoted by the bot
- setChatAdministratorCustomTitle(Object, Integer, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setChatDescription(Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to change the description of a supergroup or a channel.
- setChatDescription(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to change the description of a supergroup or a channel.
- setChatDescription(Object, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setChatPermissions(Object, ChatPermissions) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to set default chat permissions for all members.
- setChatPermissions(Object, ChatPermissions) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setChatPhoto(Object, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to set a new profile photo for the chat.
- setChatPhoto(Object, File) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setChatStickerSet(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to set a new group sticker set for a supergroup.
- setChatStickerSet(Object, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setChatTitle(Object, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to change the title of a chat.
- setChatTitle(Object, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setExceptionHandler(ExceptionHandler) - Method in interface com.cadiducho.telegrambotapi.handlers.BotUpdatesPoller
- setGameScore(Integer, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to set the score of the specified user in a game.
- setGameScore(Integer, Integer, Boolean, Boolean, Object, Integer, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to set the score of the specified user in a game.
- setGameScore(Integer, Integer, Boolean, Boolean, Object, Integer, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setHandler(LongPollingHandler) - Method in interface com.cadiducho.telegrambotapi.handlers.BotUpdatesPoller
- setInitialIntervalMillis(int) - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Sets the initial retry interval in milliseconds.
- setMaxElapsedTimeMillis(int) - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Sets the maximum elapsed time in milliseconds.
- setMaxIntervalMillis(int) - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Sets the maximum value of the back off period in milliseconds.
- setMultiplier(double) - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Sets the value to multiply the current interval with for each retry attempt.
- setMyCommands(List<BotCommand>) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to change the list of the bot's commands.
- setMyCommands(List<BotCommand>) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setRandomizationFactor(double) - Method in class com.cadiducho.telegrambotapi.handlers.ExponentialBackOff.Builder
-
Sets the randomization factor to use for creating a range around the retry interval.
- setStickerPositionInSet(String, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to move a sticker in a set created by the bot to a specific position .
- setStickerPositionInSet(String, Integer) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setStickerSetThumb(String, Integer, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to set the thumbnail of a sticker set.
- setStickerSetThumb(String, Integer, File) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setStickerSetThumb(String, Integer, String) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to set the thumbnail of a sticker set.
- setStickerSetThumb(String, Integer, String) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- setUpdatesSupplier(UpdatesSupplier) - Method in interface com.cadiducho.telegrambotapi.handlers.BotUpdatesPoller
- setWebhook(String, File, Integer, List<String>) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to specify a url and receive incoming updates via an outgoing webhook.
- setWebhook(String, File, Integer, List<String>) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- ShippingAddress - Class in com.cadiducho.telegrambotapi.payment
-
This object represents a shipping address.
- ShippingAddress() - Constructor for class com.cadiducho.telegrambotapi.payment.ShippingAddress
- ShippingOption - Class in com.cadiducho.telegrambotapi.payment
-
This object represents one shipping option.
- ShippingOption() - Constructor for class com.cadiducho.telegrambotapi.payment.ShippingOption
- ShippingQuery - Class in com.cadiducho.telegrambotapi.payment
-
This object contains information about an incoming shipping query.
- ShippingQuery() - Constructor for class com.cadiducho.telegrambotapi.payment.ShippingQuery
- start() - Method in interface com.cadiducho.telegrambotapi.handlers.BotUpdatesPoller
-
Starts the bot poller
- start() - Method in class com.cadiducho.telegrambotapi.handlers.DefaultBotUpdatesPoller
- startUpdatesPoller() - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Starts the updates thread
- startUpdatesPoller() - Method in class com.cadiducho.telegrambotapi.TelegramBot
- Sticker - Class in com.cadiducho.telegrambotapi
-
This object represents a sticker.
- Sticker() - Constructor for class com.cadiducho.telegrambotapi.Sticker
- STICKER - com.cadiducho.telegrambotapi.Message.Type
- StickerSet - Class in com.cadiducho.telegrambotapi
-
This object represents a sticker set.
- StickerSet() - Constructor for class com.cadiducho.telegrambotapi.StickerSet
- stop() - Method in interface com.cadiducho.telegrambotapi.handlers.BotUpdatesPoller
-
Stops the bot poller
- stop() - Method in class com.cadiducho.telegrambotapi.handlers.DefaultBotUpdatesPoller
- stopMessageLiveLocation(Object, Integer, String, InlineKeyboardMarkup) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to stop updating a live location message sent by the bot or via the bot (for inline bots) before live_period expires.
- stopMessageLiveLocation(Object, Integer, String, InlineKeyboardMarkup) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- stopPoll(Object, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to stop a poll which was sent by the bot.
- stopPoll(Object, Integer, InlineKeyboardMarkup) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to stop a poll which was sent by the bot.
- stopPoll(Object, Integer, InlineKeyboardMarkup) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- stopUpdatesPoller() - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Stop the updates thread
- stopUpdatesPoller() - Method in class com.cadiducho.telegrambotapi.TelegramBot
- SUCCESSFUL_PAYMENT - com.cadiducho.telegrambotapi.Message.Type
- SuccessfulPayment - Class in com.cadiducho.telegrambotapi.payment
-
This object contains basic information about a successful payment.
- SuccessfulPayment() - Constructor for class com.cadiducho.telegrambotapi.payment.SuccessfulPayment
- SUPERGROUP - com.cadiducho.telegrambotapi.Chat.ChatType
- SUPERGROUP_CHAT_CREATED - com.cadiducho.telegrambotapi.Message.Type
T
- TelegramBot - Class in com.cadiducho.telegrambotapi
- TelegramBot(String) - Constructor for class com.cadiducho.telegrambotapi.TelegramBot
- TelegramException - Exception in com.cadiducho.telegrambotapi.exception
- TelegramException() - Constructor for exception com.cadiducho.telegrambotapi.exception.TelegramException
- TelegramException(String) - Constructor for exception com.cadiducho.telegrambotapi.exception.TelegramException
- TelegramException(String, Throwable) - Constructor for exception com.cadiducho.telegrambotapi.exception.TelegramException
- TelegramException(String, Throwable, boolean, boolean) - Constructor for exception com.cadiducho.telegrambotapi.exception.TelegramException
- TelegramException(Throwable) - Constructor for exception com.cadiducho.telegrambotapi.exception.TelegramException
- TEXT - com.cadiducho.telegrambotapi.Message.Type
- toJson() - Method in class com.cadiducho.telegrambotapi.util.ApiResponse
-
Serialize this response to json
- type - Variable in class com.cadiducho.telegrambotapi.inline.InlineQueryResult
-
Type of the result
- type - Variable in class com.cadiducho.telegrambotapi.InputMedia
-
Type of the result
- typing - com.cadiducho.telegrambotapi.BotAPI.ChatAction
U
- unbanChatMember(Object, Integer) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to unban a previously kicked user in a supergroup or channel.
- unbanChatMember(Object, Integer) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- UNKNOWN - com.cadiducho.telegrambotapi.Chat.ChatType
- UNKNOWN - com.cadiducho.telegrambotapi.Message.Type
- unpinChatMessage(Object) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to unpin a message in a group, a supergroup, or a channel.
- unpinChatMessage(Object) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- Update - Class in com.cadiducho.telegrambotapi
-
This object represents an incoming update.
- Update() - Constructor for class com.cadiducho.telegrambotapi.Update
- UpdatesSupplier - Interface in com.cadiducho.telegrambotapi.handlers
- upload_audio - com.cadiducho.telegrambotapi.BotAPI.ChatAction
- upload_document - com.cadiducho.telegrambotapi.BotAPI.ChatAction
- upload_photo - com.cadiducho.telegrambotapi.BotAPI.ChatAction
- upload_video - com.cadiducho.telegrambotapi.BotAPI.ChatAction
- upload_video_note - com.cadiducho.telegrambotapi.BotAPI.ChatAction
- uploadStickerFile(Integer, File) - Method in interface com.cadiducho.telegrambotapi.BotAPI
-
Use this method to upload a .png file with a sticker for later use in createNewStickerSet and addStickerToSet methods (can be used multiple times).
- uploadStickerFile(Integer, File) - Method in class com.cadiducho.telegrambotapi.TelegramBot
- User - Class in com.cadiducho.telegrambotapi
- User(Integer, String, String, String) - Constructor for class com.cadiducho.telegrambotapi.User
-
Constructor used by Chat
- UserProfilePhotos - Class in com.cadiducho.telegrambotapi
-
This object represent a user's profile pictures.
- UserProfilePhotos() - Constructor for class com.cadiducho.telegrambotapi.UserProfilePhotos
V
- valueOf(String) - Static method in enum com.cadiducho.telegrambotapi.BotAPI.ChatAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.cadiducho.telegrambotapi.Chat.ChatType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.cadiducho.telegrambotapi.ChatMember.ChatMemberStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.cadiducho.telegrambotapi.Message.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.cadiducho.telegrambotapi.ParseMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.cadiducho.telegrambotapi.BotAPI.ChatAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.cadiducho.telegrambotapi.Chat.ChatType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.cadiducho.telegrambotapi.ChatMember.ChatMemberStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.cadiducho.telegrambotapi.Message.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.cadiducho.telegrambotapi.ParseMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Venue - Class in com.cadiducho.telegrambotapi
-
This object represents a venue.
- Venue() - Constructor for class com.cadiducho.telegrambotapi.Venue
- VENUE - com.cadiducho.telegrambotapi.Message.Type
- Video - Class in com.cadiducho.telegrambotapi
-
This object represents a video file.
- Video() - Constructor for class com.cadiducho.telegrambotapi.Video
- VIDEO - com.cadiducho.telegrambotapi.Message.Type
- VIDEO_NOTE - com.cadiducho.telegrambotapi.Message.Type
- VideoNote - Class in com.cadiducho.telegrambotapi
-
This object represents a video message (available in Telegram apps as of v.4.0).
- VideoNote() - Constructor for class com.cadiducho.telegrambotapi.VideoNote
- Voice - Class in com.cadiducho.telegrambotapi
-
This object represents a voice note.
- Voice() - Constructor for class com.cadiducho.telegrambotapi.Voice
- VOICE - com.cadiducho.telegrambotapi.Message.Type
W
- WebhookInfo - Class in com.cadiducho.telegrambotapi
-
Contains information about the current status of a webhook.
- WebhookInfo() - Constructor for class com.cadiducho.telegrambotapi.WebhookInfo
All Classes All Packages