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.

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.

MISSED_CALL = <class 'pyrogram.raw.types.auth.sent_code_type_missed_call.SentCodeTypeMissedCall'>#

The code will be sent via a Missed call. User manually enters last digits of the calling phone number.

SMS = <class 'pyrogram.raw.types.auth.sent_code_type_sms.SentCodeTypeSms'>#

The code was sent via SMS.

FRAGMENT_SMS = <class 'pyrogram.raw.types.auth.sent_code_type_fragment_sms.SentCodeTypeFragmentSms'>#

The code was sent via Fragment SMS.

FIREBASE_SMS = <class 'pyrogram.raw.types.auth.sent_code_type_firebase_sms.SentCodeTypeFirebaseSms'>#

The code should be delivered via SMS after Firebase attestation.

EMAIL_CODE = <class 'pyrogram.raw.types.auth.sent_code_type_email_code.SentCodeTypeEmailCode'>#

The code was sent via email.

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.