AuthorizationStateWaitEmailCode constructor

const AuthorizationStateWaitEmailCode({
  1. required bool allowAppleId,
  2. required bool allowGoogleId,
  3. required EmailAddressAuthenticationCodeInfo codeInfo,
  4. EmailAddressResetState? emailAddressResetState,
  5. dynamic extra,
  6. int? clientId,
})

TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code

Implementation

const AuthorizationStateWaitEmailCode({
  required this.allowAppleId,
  required this.allowGoogleId,
  required this.codeInfo,
  this.emailAddressResetState,
  this.extra,
  this.clientId,
});