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
Modifier and TypeFieldDescriptionlong
User identifier of the service's bot.static final int
Identifier uniquely determining type of the object.Unique request identifier provided by the service.Service's public key.Telegram Passport element types requested by the service. -
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
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetPassportAuthorizationForm
public GetPassportAuthorizationForm()Returns a Telegram Passport authorization form for sharing data with a service.Returns
PassportAuthorizationForm
-
GetPassportAuthorizationForm
Returns a Telegram Passport authorization form for sharing data with a service.Returns
PassportAuthorizationForm
- Parameters:
botUserId
- User 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.Returns
PassportAuthorizationForm
-
GetPassportAuthorizationForm
Returns a Telegram Passport authorization form for sharing data with a service.Returns
PassportAuthorizationForm
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-