PhoneNumberCodeType¶
- class pyrogram.enums.PhoneNumberCodeType
Bases:
AutoNameDescribes type of the request for which a code is sent to a phone number
- AUTHENTICATION = 'authentication'
Default authentication process.
- CHANGE = 'change'
Checks ownership of a new phone number to change the user’s authentication phone number. For official Android and iOS applications only.
- VERIFY = 'verify'
Verifies ownership of a phone number to be added to the user’s Telegram Passport.