Package it.tdlight.jni
Class TdApi.SendPhoneNumberConfirmationCode
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SendPhoneNumberConfirmationCode
- Enclosing class:
- TdApi
public static class TdApi.SendPhoneNumberConfirmationCode extends TdApi.Function
Sends phone number confirmation code
to handle links of the type internalLinkTypePhoneNumberConfirmation.
Returns AuthenticationCodeInfo
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
hash
Hash value from the link.String
phoneNumber
Phone number value from the link.TdApi.PhoneNumberAuthenticationSettings
settings
Settings for the authentication of the user's phone number. -
Constructor Summary
Constructors Constructor Description SendPhoneNumberConfirmationCode()
Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation.SendPhoneNumberConfirmationCode(DataInput input)
SendPhoneNumberConfirmationCode(String hash, String phoneNumber, TdApi.PhoneNumberAuthenticationSettings settings)
Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation. -
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
-
hash
Hash value from the link. -
phoneNumber
Phone number value from the link. -
settings
Settings for the authentication of the user's phone number. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SendPhoneNumberConfirmationCode
public SendPhoneNumberConfirmationCode()Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation.Returns
AuthenticationCodeInfo
-
SendPhoneNumberConfirmationCode
public SendPhoneNumberConfirmationCode(String hash, String phoneNumber, TdApi.PhoneNumberAuthenticationSettings settings)Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation.Returns
AuthenticationCodeInfo
- Parameters:
hash
- String Hash value from the link.phoneNumber
- String Phone number value from the link.settings
- PhoneNumberAuthenticationSettings Settings for the authentication of the user's phone number.
-
SendPhoneNumberConfirmationCode
- 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()
-