Package it.tdlight.jni
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 Summary
Fields Modifier and Type Field Description int
autorizationFormId
Authorization form identifier.static int
CONSTRUCTOR
TdApi.PassportElementType[]
types
Types of Telegram Passport elements chosen by user to complete the authorization form. -
Constructor Summary
Constructors Constructor Description SendPassportAuthorizationForm()
Sends a Telegram Passport authorization form, effectively sharing data with the service.SendPassportAuthorizationForm(int autorizationFormId, TdApi.PassportElementType[] types)
Sends a Telegram Passport authorization form, effectively sharing data with the service.SendPassportAuthorizationForm(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
autorizationFormId
public int autorizationFormIdAuthorization form identifier. -
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
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
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-