Module tdlight.api

Class TdApi.SendPassportAuthorizationForm

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

public static final class TdApi.SendPassportAuthorizationForm extends TdApi.Function<TdApi.Ok>
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:
  • 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
      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
      Throws:
      IOException
  • Method Details