Uses of Class
org.telegram.telegrambots.meta.exceptions.TelegramApiException
Packages that use TelegramApiException
Package
Description
-
Uses of TelegramApiException in org.telegram.telegrambots.meta
Methods in org.telegram.telegrambots.meta that throw TelegramApiExceptionModifier and TypeMethodDescriptionTelegramBotsApi.registerBot(LongPollingBot bot) Register a bot.voidTelegramBotsApi.registerBot(WebhookBot bot, SetWebhook setWebhook) Register a bot in the api that will receive updates using webhook methodConstructors in org.telegram.telegrambots.meta that throw TelegramApiExceptionModifierConstructorDescriptionTelegramBotsApi(Class<? extends BotSession> botSessionClass) TelegramBotsApi(Class<? extends BotSession> botSessionClass, Webhook webhook) Creates an HTTP server to receive webhook request -
Uses of TelegramApiException in org.telegram.telegrambots.meta.bots
Methods in org.telegram.telegrambots.meta.bots that throw TelegramApiExceptionModifier and TypeMethodDescription<T extends Serializable,Method extends BotApiMethod<T>>
TAbsSender.execute(Method method) abstract BooleanAbsSender.execute(SetChatPhoto setChatPhoto) Set chat profile photo (https://core.telegram.org/bots/api#setChatPhoto)abstract MessageAbsSender.execute(SendAnimation sendAnimation) Send animationabstract MessageSends a file using Send Audio method (https://core.telegram.org/bots/api#sendaudio)abstract MessageAbsSender.execute(SendDocument sendDocument) AbsSender.execute(SendMediaGroup sendMediaGroup) Send a media group (https://core.telegram.org/bots/api#sendMediaGroup)abstract Messageabstract MessageAbsSender.execute(SendSticker sendSticker) abstract Messageabstract MessageAbsSender.execute(SendVideoNote sendVideoNote) abstract MessageSends a voice note using Send Voice method (https://core.telegram.org/bots/api#sendvoice) For this to work, your audio must be in an .ogg file encoded with OPUSabstract BooleanAbsSender.execute(AddStickerToSet addStickerToSet) Adds a new sticker to a set (https://core.telegram.org/bots/api#addStickerToSet)abstract BooleanAbsSender.execute(CreateNewStickerSet createNewStickerSet) Creates a new sticker set (https://core.telegram.org/bots/api#createNewStickerSet)abstract BooleanAbsSender.execute(SetStickerSetThumb setStickerSetThumb) Set sticker set thumb (https://core.telegram.org/bots/api#setStickerSetThumb)abstract FileAbsSender.execute(UploadStickerFile uploadStickerFile) Upload a new file as sticker (https://core.telegram.org/bots/api#uploadStickerFile)abstract SerializableAbsSender.execute(EditMessageMedia editMessageMedia) Edit media in a message<T extends Serializable,Method extends BotApiMethod<T>>
CompletableFuture<T>AbsSender.executeAsync(Method method) <T extends Serializable,Method extends BotApiMethod<T>, Callback extends SentCallback<T>>
voidAbsSender.executeAsync(Method method, Callback callback) final UserAbsSender.getMe()final voidAbsSender.getMeAsync(SentCallback<User> sentCallback) final WebhookInfoAbsSender.getWebhookInfo()final voidAbsSender.getWebhookInfoAsync(SentCallback<WebhookInfo> sentCallback) protected abstract <T extends Serializable,Method extends BotApiMethod<T>>
TAbsSender.sendApiMethod(Method method) -
Uses of TelegramApiException in org.telegram.telegrambots.meta.exceptions
Subclasses of TelegramApiException in org.telegram.telegrambots.meta.exceptionsModifier and TypeClassDescriptionclassclass -
Uses of TelegramApiException in org.telegram.telegrambots.meta.generics
Methods in org.telegram.telegrambots.meta.generics that throw TelegramApiExceptionModifier and TypeMethodDescriptionvoidWebhook.setKeyStore(String keyStore, String keyStorePassword) voidWebhookBot.setWebhook(SetWebhook setWebhook) Execute setWebhook method to set up the url of the webhookvoidWebhook.startServer()