Interface InternalLinkTypePhoneNumberConfirmation

The link can be used to confirm ownership of a phone number to prevent account deletion. Call sendPhoneNumberCode with the given phone number and with phoneNumberCodeTypeConfirmOwnership with the given hash to process the link. If succeeded, call checkPhoneNumberCode to check entered by the user code, or resendPhoneNumberCode to resend it. Subtype of InternalLinkType.

interface InternalLinkTypePhoneNumberConfirmation {
    @type: "internalLinkTypePhoneNumberConfirmation";
    hash: string;
    phone_number: string;
}

Properties

@type: "internalLinkTypePhoneNumberConfirmation"
hash: string

Hash value from the link.

phone_number: string

Phone number value from the link.