SentCodeType

class hydrogram.enums.SentCodeType[source]

Sent code type enumeration used in SentCode.

APP = <class 'hydrogram.raw.types.auth.sent_code_type_app.SentCodeTypeApp'>

The code was sent through the telegram app.

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

Missed call.

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

The code was sent via SMS.

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

The code was sent via Fragment SMS.

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

The code was sent via email.