Module tdlight.api

Class TdApi.GetPassportAuthorizationFormAvailableElements

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.PassportElementsWithErrors>
it.tdlight.jni.TdApi.GetPassportAuthorizationFormAvailableElements
Enclosing class:
TdApi

public static final class TdApi.GetPassportAuthorizationFormAvailableElements extends TdApi.Function<TdApi.PassportElementsWithErrors>
Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form. Returns PassportElementsWithErrors
  • Field Details

    • autorizationFormId

      public int autorizationFormId
      Authorization form identifier.
    • password

      public String password
      Password of the current user.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetPassportAuthorizationFormAvailableElements

      public GetPassportAuthorizationFormAvailableElements()
      Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form. Returns PassportElementsWithErrors
    • GetPassportAuthorizationFormAvailableElements

      public GetPassportAuthorizationFormAvailableElements(int autorizationFormId, String password)
      Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form. Returns PassportElementsWithErrors
      Parameters:
      autorizationFormId - int Authorization form identifier.
      password - String Password of the current user.
    • GetPassportAuthorizationFormAvailableElements

      public GetPassportAuthorizationFormAvailableElements(DataInput input) throws IOException
      Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form. Returns PassportElementsWithErrors
      Throws:
      IOException
  • Method Details