auth.Authorization
This is a boxed type (a TL class): the Go interface tg.AuthAuthorizationClass, implemented by
the constructors below. A value of this type is one of them — switch on the concrete
type to handle it.
switch v := value.(type) {
case *tg.AuthAuthorization: // auth.authorization
case *tg.AuthAuthorizationSignUpRequired: // auth.authorizationSignUpRequired
}
Constructors
| Constructor | TL name |
|---|---|
AuthAuthorization | auth.authorization |
AuthAuthorizationSignUpRequired | auth.authorizationSignUpRequired |
Returned by
auth.checkPasswordauth.finishPasskeyLoginauth.importAuthorizationauth.importBotAuthorizationauth.importWebTokenAuthorizationauth.recoverPasswordauth.signInauth.signUp