Uses of Class
org.telegram.telegrambots.meta.exceptions.TelegramApiRequestException
-
-
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta
Methods in org.telegram.telegrambots.meta that throw TelegramApiRequestException Modifier and Type Method Description BotSessionTelegramBotsApi. registerBot(LongPollingBot bot)Register a bot.voidTelegramBotsApi. registerBot(WebhookBot bot)Register a bot in the api that will receive updates using webhook methodConstructors in org.telegram.telegrambots.meta that throw TelegramApiRequestException Constructor Description TelegramBotsApi(String externalUrl, String internalUrl)Creates an HTTP server to receive webhook requestTelegramBotsApi(String keyStore, String keyStorePassword, String externalUrl, String internalUrl)Creates an HTTPS server to receive webhook requestTelegramBotsApi(String keyStore, String keyStorePassword, String externalUrl, String internalUrl, String pathToCertificate)Creates an HTTPS server with self-signed certificate to receive webhook request -
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.api.methods
Methods in org.telegram.telegrambots.meta.api.methods that throw TelegramApiRequestException Modifier and Type Method Description BooleanAnswerCallbackQuery. deserializeResponse(String answer)BooleanAnswerInlineQuery. deserializeResponse(String answer)BooleanAnswerPreCheckoutQuery. deserializeResponse(String answer)BooleanAnswerShippingQuery. deserializeResponse(String answer)MessageForwardMessage. deserializeResponse(String answer)FileGetFile. deserializeResponse(String answer)UserGetMe. deserializeResponse(String answer)UserProfilePhotosGetUserProfilePhotos. deserializeResponse(String answer)abstract TPartialBotApiMethod. deserializeResponse(String answer)Deserialize a json answer to the response type to a methodBooleanSetPassportDataErrors. deserializeResponse(String answer)SerializableStopMessageLiveLocation. deserializeResponse(String answer) -
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.api.methods.games
Methods in org.telegram.telegrambots.meta.api.methods.games that throw TelegramApiRequestException Modifier and Type Method Description ArrayList<GameHighScore>GetGameHighScores. deserializeResponse(String answer)SerializableSetGameScore. deserializeResponse(String answer) -
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.api.methods.groupadministration
-
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.api.methods.pinnedmessages
Methods in org.telegram.telegrambots.meta.api.methods.pinnedmessages that throw TelegramApiRequestException Modifier and Type Method Description BooleanPinChatMessage. deserializeResponse(String answer)BooleanUnpinChatMessage. deserializeResponse(String answer) -
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.api.methods.polls
Methods in org.telegram.telegrambots.meta.api.methods.polls that throw TelegramApiRequestException Modifier and Type Method Description MessageSendPoll. deserializeResponse(String answer)PollStopPoll. deserializeResponse(String answer) -
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.api.methods.send
-
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.api.methods.stickers
Methods in org.telegram.telegrambots.meta.api.methods.stickers that throw TelegramApiRequestException Modifier and Type Method Description BooleanAddStickerToSet. deserializeResponse(String answer)BooleanCreateNewStickerSet. deserializeResponse(String answer)BooleanDeleteStickerFromSet. deserializeResponse(String answer)StickerSetGetStickerSet. deserializeResponse(String answer)BooleanSetStickerPositionInSet. deserializeResponse(String answer)FileUploadStickerFile. deserializeResponse(String answer) -
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.api.methods.updates
Methods in org.telegram.telegrambots.meta.api.methods.updates that throw TelegramApiRequestException Modifier and Type Method Description BooleanDeleteWebhook. deserializeResponse(String answer)ArrayList<Update>GetUpdates. deserializeResponse(String answer)WebhookInfoGetWebhookInfo. deserializeResponse(String answer) -
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.api.methods.updatingmessages
Methods in org.telegram.telegrambots.meta.api.methods.updatingmessages that throw TelegramApiRequestException Modifier and Type Method Description BooleanDeleteMessage. deserializeResponse(String answer)SerializableEditMessageCaption. deserializeResponse(String answer)SerializableEditMessageLiveLocation. deserializeResponse(String answer)SerializableEditMessageMedia. deserializeResponse(String answer)SerializableEditMessageReplyMarkup. deserializeResponse(String answer)SerializableEditMessageText. deserializeResponse(String answer) -
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.generics
Methods in org.telegram.telegrambots.meta.generics that throw TelegramApiRequestException Modifier and Type Method Description voidLongPollingBot. clearWebhook()Clear current webhook (if present) calling setWebhook method with empty url.voidWebhook. setKeyStore(String keyStore, String keyStorePassword)voidWebhookBot. setWebhook(String url, String publicCertificatePath)Execute setWebhook method to set up the url of the webhookvoidWebhook. startServer() -
Uses of TelegramApiRequestException in org.telegram.telegrambots.meta.updateshandlers
Methods in org.telegram.telegrambots.meta.updateshandlers with parameters of type TelegramApiRequestException Modifier and Type Method Description voidSentCallback. onError(BotApiMethod<T> method, TelegramApiRequestException apiException)Called when the request fails
-