Module tdlight.api

Class TdApi.InputPassportElementError

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputPassportElementError
Enclosing class:
TdApi

public static final class TdApi.InputPassportElementError extends TdApi.Object
Contains the description of an error in a Telegram Passport element; for bots only.
  • Field Details

  • Constructor Details

    • InputPassportElementError

      public InputPassportElementError()
      Contains the description of an error in a Telegram Passport element; for bots only.
    • InputPassportElementError

      public InputPassportElementError(TdApi.PassportElementType type, String message, TdApi.InputPassportElementErrorSource source)
      Contains the description of an error in a Telegram Passport element; for bots only.
      Parameters:
      type - PassportElementType Type of Telegram Passport element that has the error.
      message - String Error message.
      source - InputPassportElementErrorSource Error source.
    • InputPassportElementError

      public InputPassportElementError(DataInput input) throws IOException
      Contains the description of an error in a Telegram Passport element; for bots only.
      Throws:
      IOException
  • Method Details