Class TdApi.SetPassportElementErrors

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SetPassportElementErrors
Enclosing class:
TdApi

public static class TdApi.SetPassportElementErrors
extends TdApi.Function
Informs the user that some of the elements in their Telegram Passport contain errors; for bots only. The user will not be able to resend the elements, until the errors are fixed.

Returns Ok

  • Field Details

  • Constructor Details

    • SetPassportElementErrors

      public SetPassportElementErrors()
      Informs the user that some of the elements in their Telegram Passport contain errors; for bots only. The user will not be able to resend the elements, until the errors are fixed.

      Returns Ok

    • SetPassportElementErrors

      public SetPassportElementErrors​(long userId, TdApi.InputPassportElementError[] errors)
      Informs the user that some of the elements in their Telegram Passport contain errors; for bots only. The user will not be able to resend the elements, until the errors are fixed.

      Returns Ok

      Parameters:
      userId - long User identifier.
      errors - InputPassportElementError[] The errors.
    • SetPassportElementErrors

      public SetPassportElementErrors​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details