Module tdlight.api

Class TdApi.SetPassportElementErrors

Enclosing class:
TdApi

public static final class TdApi.SetPassportElementErrors extends TdApi.Function<TdApi.Ok>
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
      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

      Throws:
      IOException
  • Method Details