authorizationSignUpRequired
An account with this phone number doesn't exist on telegram: the user has to enter basic information and sign up
authorization
Contains user authorization info.
codeTypeCall
The next time, the authentication code is to be delivered via an outgoing phone call.
codeTypeFlashCall
The next time, the authentication code will be delivered via an immediately canceled incoming call.
codeTypeFragmentSms
The next time, the authentication code will be delivered via fragment.com
codeTypeMissedCall
The next time, the authentication code will be delivered via an immediately canceled incoming call, handled manually by the user.
codeTypeSms
The next time, the authentication code will be delivered via an immediately canceled incoming call.
exportedAuthorization
Data for copying of authorization between data centers.
loggedOut
Future auth token ยป to be used on subsequent authorizations
loginTokenMigrateTo
Repeat the query to the specified DC
loginTokenSuccess
Login via token (QR code) succeeded!
loginToken
Login token (for QR code login)
passkeyLoginOptions
Passkey login options, see here ยป for more info on the full flow.
passwordRecovery
Recovery info of a 2FA password, only for accounts with a recovery email configured.
sentCodePaymentRequired
Official apps may receive this constructor, indicating that due to the high cost of SMS verification codes for the user's country/provider, the user must purchase a Telegram Premium subscription in order to proceed with the login/signup, see here ยป for more info.
sentCodeSuccess
The user successfully authorized using future auth tokens
sentCodeTypeApp
The code was sent through the telegram app
sentCodeTypeCall
The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input.
sentCodeTypeEmailCode
The code was sent via the previously configured login email ยป
sentCodeTypeFirebaseSms
An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation ยป.
sentCodeTypeFlashCall
The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern.
sentCodeTypeFragmentSms
The code was delivered via fragment.com.
sentCodeTypeMissedCall
The code will be sent via a flash phone call, that will be closed immediately. The last digits of the phone number that calls are the code that must be entered manually by the user.
sentCodeTypeSetUpEmailRequired
The user should add and verify an email address in order to login as described here ยป.
sentCodeTypeSmsPhrase
The code was sent via SMS as a secret phrase starting with the word specified in beginning
sentCodeTypeSmsWord
The code was sent via SMS as a secret word, starting with the letter specified in beginning
sentCodeTypeSms
The code was sent via SMS
sentCode
Contains info about a sent verification code.