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'>#

Missed call.

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.

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

The code was sent via email.