Module tdlight.api

Class TdApi.PassportAuthorizationForm

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

public static 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
      Information about the 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[] Information about the 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
      Throws:
      IOException
  • Method Details