Package org.drinkless.tdlib
Class TdApi.InternalLinkTypePhoneNumberConfirmation
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InternalLinkType
-
- org.drinkless.tdlib.TdApi.InternalLinkTypePhoneNumberConfirmation
-
- Enclosing class:
- TdApi
public static class TdApi.InternalLinkTypePhoneNumberConfirmation extends TdApi.InternalLinkType
The link can be used to confirm ownership of a phone number to prevent account deletion. Call sendPhoneNumberConfirmationCode with the given hash and phone number to process the link.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringhashHash value from the link.StringphoneNumberPhone number value from the link.
-
Constructor Summary
Constructors Constructor Description InternalLinkTypePhoneNumberConfirmation()The link can be used to confirm ownership of a phone number to prevent account deletion.InternalLinkTypePhoneNumberConfirmation(String hash, String phoneNumber)The link can be used to confirm ownership of a phone number to prevent account deletion.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
hash
public String hash
Hash value from the link.
-
phoneNumber
public String phoneNumber
Phone number value from the link.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InternalLinkTypePhoneNumberConfirmation
public InternalLinkTypePhoneNumberConfirmation()
The link can be used to confirm ownership of a phone number to prevent account deletion. Call sendPhoneNumberConfirmationCode with the given hash and phone number to process the link.
-
InternalLinkTypePhoneNumberConfirmation
public InternalLinkTypePhoneNumberConfirmation(String hash, String phoneNumber)
The link can be used to confirm ownership of a phone number to prevent account deletion. Call sendPhoneNumberConfirmationCode with the given hash and phone number to process the link.- Parameters:
hash- Hash value from the link.phoneNumber- Phone number value from the link.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-