Class TelegramApiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.natanimn.telebof.exceptions.TelegramApiException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadRequest, FloodError, Forbidden

public class TelegramApiException extends RuntimeException
Describes Telegram error
Since:
3 March 2025
See Also:
  • Field Details

  • Constructor Details

    • TelegramApiException

      public TelegramApiException(ApiResponse<?> response)
    • TelegramApiException

      public TelegramApiException(int errorCode, String description, String name)
    • TelegramApiException

      public TelegramApiException(int errorCode, String description, ResponseParameters parameters, String name)
  • Method Details