Class TdApi.SendPassportAuthorizationForm

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SendPassportAuthorizationForm
Enclosing class:
TdApi

public static class TdApi.SendPassportAuthorizationForm
extends TdApi.Function
Sends a Telegram Passport authorization form, effectively sharing data with the service. This method must be called after getPassportAuthorizationFormAvailableElements if some previously available elements are going to be reused.

Returns Ok

  • Field Details

    • autorizationFormId

      public int autorizationFormId
      Authorization form identifier.
    • types

      public TdApi.PassportElementType[] types
      Types of Telegram Passport elements chosen by user to complete the authorization form.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • SendPassportAuthorizationForm

      public SendPassportAuthorizationForm()
      Sends a Telegram Passport authorization form, effectively sharing data with the service. This method must be called after getPassportAuthorizationFormAvailableElements if some previously available elements are going to be reused.

      Returns Ok

    • SendPassportAuthorizationForm

      public SendPassportAuthorizationForm​(int autorizationFormId, TdApi.PassportElementType[] types)
      Sends a Telegram Passport authorization form, effectively sharing data with the service. This method must be called after getPassportAuthorizationFormAvailableElements if some previously available elements are going to be reused.

      Returns Ok

      Parameters:
      autorizationFormId - int Authorization form identifier.
      types - PassportElementType[] Types of Telegram Passport elements chosen by user to complete the authorization form.
    • SendPassportAuthorizationForm

      public SendPassportAuthorizationForm​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details