Skip to content

InternalLinkTypePhoneNumberConfirmation

Type · TDLib 1.8.67 · d1085f9c

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

InternalLinkTypePhoneNumberConfirmation(
  hash: string,
  phone_number: string
) → InternalLinkType

hash

string

Hash value from the link

phone_number

string

Phone number value from the link