- Enclosing class:
- TdApi
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
Modifier and TypeFieldDescriptionint
Authorization form identifier.static final int
Types of Telegram Passport elements chosen by user to complete the authorization form. -
Constructor Summary
ConstructorDescriptionSends a Telegram Passport authorization form, effectively sharing data with the service.SendPassportAuthorizationForm
(int authorizationFormId, TdApi.PassportElementType[] types) Sends a Telegram Passport authorization form, effectively sharing data with the service.Sends a Telegram Passport authorization form, effectively sharing data with the service. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
authorizationFormId
public int authorizationFormIdAuthorization form identifier. -
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. ReturnsOk
-
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. ReturnsOk
- Parameters:
authorizationFormId
- int Authorization form identifier.types
- PassportElementType[] Types of Telegram Passport elements chosen by user to complete the authorization form.
-
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. ReturnsOk
- 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()
-