Uses of Class
org.drinkless.tdlib.TdApi.Error
Packages that use TdApi.Error
Package
Description
-
Uses of TdApi.Error in dev.voroby.springframework.telegram.client
Methods in dev.voroby.springframework.telegram.client with parameters of type TdApi.ErrorModifier and TypeMethodDescriptionvoid
QueryResultHandler.onResult
(T obj, TdApi.Error error) Callback called on result of query to TDLib. -
Uses of TdApi.Error in dev.voroby.springframework.telegram.client.templates.response
Methods in dev.voroby.springframework.telegram.client.templates.response that return types with arguments of type TdApi.ErrorMethod parameters in dev.voroby.springframework.telegram.client.templates.response with type arguments of type TdApi.ErrorModifier and TypeMethodDescriptionResponse.onError
(Consumer<TdApi.Error> action) Performs an action in case of an error and returns currentResponse<T extends TdApi.Object>
.Constructors in dev.voroby.springframework.telegram.client.templates.response with parameters of type TdApi.Error -
Uses of TdApi.Error in dev.voroby.springframework.telegram.exception
Methods in dev.voroby.springframework.telegram.exception that return TdApi.ErrorConstructors in dev.voroby.springframework.telegram.exception with parameters of type TdApi.ErrorModifierConstructorDescriptionTelegramClientTdApiException
(String message, Throwable cause, TdApi.Error error) TelegramClientTdApiException
(String message, Throwable cause, TdApi.Error error, TdApi.Function<? extends TdApi.Object> query) TelegramClientTdApiException
(String message, TdApi.Error error) TelegramClientTdApiException
(String message, TdApi.Error error, TdApi.Function<? extends TdApi.Object> query) -
Uses of TdApi.Error in org.drinkless.tdlib
Fields in org.drinkless.tdlib declared as TdApi.ErrorModifier and TypeFieldDescriptionfinal TdApi.Error
Client.ExecutionException.error
Original TDLib error occurred when performing one of the synchronous functions.TdApi.CallStateError.error
Error.TdApi.FinishFileGeneration.error
If passed, the file generation has failed and must be terminated; pass null if the file generation succeeded.TdApi.MessageSendingStateFailed.error
The cause of the message sending failure.TdApi.SpeechRecognitionResultError.error
Recognition error.TdApi.TestReturnError.error
The error to be returned.TdApi.UpdateMessageSendFailed.error
The cause of the message sending failure.TdApi.UpdateStoryPostFailed.error
The cause of the story posting failure.Constructors in org.drinkless.tdlib with parameters of type TdApi.ErrorModifierConstructorDescriptionCallStateError
(TdApi.Error error) The call has ended with an error.FinishFileGeneration
(long generationId, TdApi.Error error) Creates a function, which finishes the file generation.MessageSendingStateFailed
(TdApi.Error error, boolean canRetry, boolean needAnotherSender, boolean needAnotherReplyQuote, boolean needDropReply, long requiredPaidMessageStarCount, double retryAfter) The message failed to be sent.The speech recognition failed.TestReturnError
(TdApi.Error error) Creates a function, which returns the specified error and ensures that the Error object is used; for testing only.UpdateMessageSendFailed
(TdApi.Message message, long oldMessageId, TdApi.Error error) A message failed to send.UpdateStoryPostFailed
(TdApi.Story story, TdApi.Error error, TdApi.CanPostStoryResult errorType) A story failed to post.