NextCodeType

class hydrogram.enums.NextCodeType[source]

Next code type enumeration used in SentCode.

CALL = <class 'hydrogram.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 'hydrogram.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 'hydrogram.raw.types.auth.code_type_missed_call.CodeTypeMissedCall'>

Missed call.

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

The code was sent via SMS.

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

The code was sent via Fragment SMS.