Uses of Class
org.telegram.telegrambots.meta.exceptions.TelegramApiException
Packages that use TelegramApiException
Package
Description
-
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 TypeMethodDescriptiondefault FileTelegramClient.downloadFile(String filePath) TelegramClient.downloadFile(File file) default InputStreamTelegramClient.downloadFileAsStream(String filePath) TelegramClient.downloadFileAsStream(File file) <T extends Serializable,Method extends BotApiMethod<T>>
TTelegramClient.execute(Method method) TelegramClient.execute(SetChatPhoto setChatPhoto) Set chat profile photoTelegramClient.execute(SendAnimation sendAnimation) Send animationSends a file using Send Audio methodTelegramClient.execute(SendDocument sendDocument) TelegramClient.execute(SendMediaGroup sendMediaGroup) Send a media groupTelegramClient.execute(SendPaidMedia sendPaidMedia) Send a paid mediaTelegramClient.execute(SendSticker sendSticker) TelegramClient.execute(SendVideoNote sendVideoNote) Sends a voice note using Send Voice method For this to work, your audio must be in an .ogg file encoded with OPUSTelegramClient.execute(AddStickerToSet addStickerToSet) Adds a new sticker to a setTelegramClient.execute(CreateNewStickerSet createNewStickerSet) Creates a new sticker set ≈TelegramClient.execute(ReplaceStickerInSet replaceStickerInSet) Replace a sticker in a setTelegramClient.execute(SetStickerSetThumbnail setStickerSetThumbnail) Set sticker set thumbTelegramClient.execute(UploadStickerFile uploadStickerFile) Upload a new file as stickerTelegramClient.execute(SetWebhook setWebhook) TelegramClient.execute(EditMessageMedia editMessageMedia) Edit media in a message<T extends Serializable,Method extends BotApiMethod<T>>
CompletableFuture<T>TelegramClient.executeAsync(Method method)