- 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
FieldsModifier and TypeFieldDescriptionintAuthorization form identifier.static final intTypes of Telegram Passport elements chosen by user to complete the authorization form. -
Constructor Summary
ConstructorsConstructorDescriptionSends 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-