Module tdlight.api

Class TdApi.PassportAuthorizationForm

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

public static final class TdApi.PassportAuthorizationForm extends TdApi.Object
Contains information about a Telegram Passport authorization form that was requested.
  • Field Details

    • id

      public int id
      Unique identifier of the authorization form.
    • requiredElements

      public TdApi.PassportRequiredElement[] requiredElements
      Telegram Passport elements that must be provided to complete the form.
    • privacyPolicyUrl

      public String privacyPolicyUrl
      URL for the privacy policy of the service; may be empty.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • PassportAuthorizationForm

      public PassportAuthorizationForm()
      Contains information about a Telegram Passport authorization form that was requested.
    • PassportAuthorizationForm

      public PassportAuthorizationForm(int id, TdApi.PassportRequiredElement[] requiredElements, String privacyPolicyUrl)
      Contains information about a Telegram Passport authorization form that was requested.
      Parameters:
      id - int Unique identifier of the authorization form.
      requiredElements - PassportRequiredElement[] Telegram Passport elements that must be provided to complete the form.
      privacyPolicyUrl - String URL for the privacy policy of the service; may be empty.
    • PassportAuthorizationForm

      public PassportAuthorizationForm(DataInput input) throws IOException
      Contains information about a Telegram Passport authorization form that was requested.
      Throws:
      IOException
  • Method Details