java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.PassportAuthorizationForm>
it.tdlight.jni.TdApi.GetPassportAuthorizationForm
- Enclosing class:
- TdApi
public static final class TdApi.GetPassportAuthorizationForm
extends TdApi.Function<TdApi.PassportAuthorizationForm>
Returns a Telegram Passport authorization
form for sharing data with a service.
Returns
PassportAuthorizationForm
-
Field Summary
-
Constructor Summary
ConstructorDescriptionReturns a Telegram Passport authorization form for sharing data with a service.GetPassportAuthorizationForm
(long botUserId, String scope, String publicKey, String nonce) Returns a Telegram Passport authorization form for sharing data with a service.Returns a Telegram Passport authorization form for sharing data with a 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
-
botUserId
public long botUserIdUser identifier of the service's bot. -
scope
Telegram Passport element types requested by the service. -
publicKey
Service's public key. -
nonce
Unique request identifier provided by the service. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetPassportAuthorizationForm
public GetPassportAuthorizationForm()Returns a Telegram Passport authorization form for sharing data with a service. ReturnsPassportAuthorizationForm
-
GetPassportAuthorizationForm
Returns a Telegram Passport authorization form for sharing data with a service. ReturnsPassportAuthorizationForm
- Parameters:
botUserId
- long User identifier of the service's bot.scope
- String Telegram Passport element types requested by the service.publicKey
- String Service's public key.nonce
- String Unique request identifier provided by the service.
-
GetPassportAuthorizationForm
Returns a Telegram Passport authorization form for sharing data with a service. ReturnsPassportAuthorizationForm
- 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()
-