auth.CodeType#

class pyrogram.raw.base.auth.CodeType#

Type of verification code that will be sent next if you call the resendCode method.

Constructors:

This base type has 5 constructors available.

auth.CodeTypeCall

The next time, the authentication code is to be delivered via an outgoing phone call.

auth.CodeTypeFlashCall

The next time, the authentication code will be delivered via an immediately canceled incoming call.

auth.CodeTypeFragmentSms

The next time, the authentication code will be delivered via fragment.com.

auth.CodeTypeMissedCall

The next time, the authentication code will be delivered via an immediately canceled incoming call, handled manually by the user.

auth.CodeTypeSms

The next time, the authentication code will be delivered via an immediately canceled incoming call.