haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.PhoneNumberCodeType

Synopsis

Documentation

data PhoneNumberCodeType Source #

Describes type of the request for which a code is sent to a phone number

Constructors

PhoneNumberCodeTypeChange

Checks ownership of a new phone number to change the user's authentication phone number; for official Android and iOS applications only

PhoneNumberCodeTypeVerify

Verifies ownership of a phone number to be added to the user's Telegram Passport

PhoneNumberCodeTypeConfirmOwnership

Confirms ownership of a phone number to prevent account deletion while handling links of the type internalLinkTypePhoneNumberConfirmation

Fields