Uses of Class
dev.voroby.springframework.telegram.client.TdApi.Error
Package
Description
-
Uses of TdApi.Error in dev.voroby.springframework.telegram.client
Modifier 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.UpdateStorySendFailed.error
The cause of the story sending failure.Modifier and TypeMethodDescriptionvoid
QueryResultHandler.onResult
(T obj, TdApi.Error error) Callback called on result of query to TDLib.ModifierConstructorDescriptionCallStateError
(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, 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.UpdateStorySendFailed
(TdApi.Story story, TdApi.Error error, TdApi.CanSendStoryResult errorType) A story failed to send. -
Uses of TdApi.Error in dev.voroby.springframework.telegram.client.templates.response
Modifier and TypeMethodDescriptionResponse.error()
Returns the value of theerror
record component.ModifierConstructorDescriptionResponse
(T object, TdApi.Error error) Creates an instance of aResponse
record class. -
Uses of TdApi.Error in dev.voroby.springframework.telegram.exception
ModifierConstructorDescriptionTelegramClientTdApiException
(String message, TdApi.Error error) TelegramClientTdApiException
(String message, TdApi.Error error, TdApi.Function<? extends TdApi.Object> query) TelegramClientTdApiException
(String message, Throwable cause, TdApi.Error error) TelegramClientTdApiException
(String message, Throwable cause, TdApi.Error error, TdApi.Function<? extends TdApi.Object> query)