SentCodeType#
- class pyrogram.enums.SentCodeType#
Sent code type enumeration used in
SentCode
.- APP = <class 'pyrogram.raw.types.auth.sent_code_type_app.SentCodeTypeApp'>#
The code was sent through the telegram app.
- CALL = <class 'pyrogram.raw.types.auth.sent_code_type_call.SentCodeTypeCall'>#
The code will be sent via a phone call. A synthesized voice will tell the user which verification code to input.
- EMAIL_CODE = <class 'pyrogram.raw.types.auth.sent_code_type_email_code.SentCodeTypeEmailCode'>#
The code was sent via email.
- FIREBASE_SMS = <class 'pyrogram.raw.types.auth.sent_code_type_firebase_sms.SentCodeTypeFirebaseSms'>#
The code should be delivered via SMS after Firebase attestation.
- FLASH_CALL = <class 'pyrogram.raw.types.auth.sent_code_type_flash_call.SentCodeTypeFlashCall'>#
The code will be sent via a flash phone call, that will be closed immediately.
- FRAGMENT_SMS = <class 'pyrogram.raw.types.auth.sent_code_type_fragment_sms.SentCodeTypeFragmentSms'>#
The code was sent via Fragment SMS.
- MISSED_CALL = <class 'pyrogram.raw.types.auth.sent_code_type_missed_call.SentCodeTypeMissedCall'>#
Missed call.
- SETUP_EMAIL_REQUIRED = <class 'pyrogram.raw.types.auth.sent_code_type_set_up_email_required.SentCodeTypeSetUpEmailRequired'>#
The user should add and verify an email address in order to login.
- SMS = <class 'pyrogram.raw.types.auth.sent_code_type_sms.SentCodeTypeSms'>#
The code was sent via SMS.
- SMS_PHRASE = <class 'pyrogram.raw.types.auth.sent_code_type_sms_phrase.SentCodeTypeSmsPhrase'>#
The code was sent via SMS with a phrase.
- SMS_WORD = <class 'pyrogram.raw.types.auth.sent_code_type_sms_word.SentCodeTypeSmsWord'>#
The code was sent via SMS with a word.