Package it.tdlight.jni
Class TdApi.GetPassportAuthorizationForm
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetPassportAuthorizationForm
- Enclosing class:
- TdApi
public static class TdApi.GetPassportAuthorizationForm extends TdApi.Function
Returns a Telegram Passport authorization
form for sharing data with a service.
Returns PassportAuthorizationForm
-
Field Summary
-
Constructor Summary
Constructors Constructor Description GetPassportAuthorizationForm()
Returns a Telegram Passport authorization form for sharing data with a service.GetPassportAuthorizationForm(int botUserId, String scope, String publicKey, String nonce)
Returns a Telegram Passport authorization form for sharing data with a service.GetPassportAuthorizationForm(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
botUserId
public int 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:
- Constant Field Values
-
-
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
- int 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
- 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()
-