Class TdApi.GetPassportAuthorizationFormAvailableElements

Enclosing class:
TdApi

public static 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

    • authorizationFormId

      public int authorizationFormId
      Authorization form identifier.
    • password

      public String password
      The 2-step verification password of the current user.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetPassportAuthorizationFormAvailableElements

      public GetPassportAuthorizationFormAvailableElements()
      Default constructor for a function, which 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 authorizationFormId, String password)
      Creates a function, which 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:
      authorizationFormId - Authorization form identifier.
      password - The 2-step verification password of the current user.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR