Package dev. inmo. tgbotapi. bot. exceptions
Types
Link copied to clipboard
class CommonRequestException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class GetUpdatesConflict(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class InvalidPhotoDimensionsException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class MessageIsNotModifiedException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class MessageToEditNotFoundException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class ReplyMessageNotFoundException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TooMuchRequestsException(retryAfter: RetryAfterError, response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class UnauthorizedException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Link copied to clipboard
class WrongFileIdentifierException(response: Response, plainAnswer: String, message: String?, cause: Throwable?) : RequestException
Content copied to clipboard
Functions
Link copied to clipboard
fun newRequestException(response: Response, plainAnswer: String, message: String? = null, cause: Throwable? = null): RequestException
Content copied to clipboard