NextCodeType

class pyrogram.enums.NextCodeType

Next code type enumeration used in SentCode.

CALL = <class 'pyrogram.raw.types.auth.code_type_call.CodeTypeCall'>

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.code_type_flash_call.CodeTypeFlashCall'>

The code will be sent via a flash phone call, that will be closed immediately.

MISSED_CALL = <class 'pyrogram.raw.types.auth.code_type_missed_call.CodeTypeMissedCall'>

Missed call.

SMS = <class 'pyrogram.raw.types.auth.code_type_sms.CodeTypeSms'>

The code was sent via SMS.

FRAGMENT_SMS = <class 'pyrogram.raw.types.auth.code_type_fragment_sms.CodeTypeFragmentSms'>

The code was sent via Fragment SMS.