auth.SentCodeType#

class pyrogram.raw.base.auth.SentCodeType#

Type of the verification code that was sent.

Constructors:

This base type has 9 constructors available.

auth.SentCodeTypeApp

The code was sent through the telegram app.

auth.SentCodeTypeCall

The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input.

auth.SentCodeTypeEmailCode

The code was sent via the previously configured login email.

auth.SentCodeTypeFirebaseSms

An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation.

auth.SentCodeTypeFlashCall

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

auth.SentCodeTypeFragmentSms

The code was delivered via fragment.com.

auth.SentCodeTypeMissedCall

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

auth.SentCodeTypeSetUpEmailRequired

The user should add and verify an email address in order to login as described here.

auth.SentCodeTypeSms

The code was sent via SMS.