Class 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 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.