AuthorizationStateWaitEmailAddress constructor

const AuthorizationStateWaitEmailAddress({
  1. required bool allowAppleId,
  2. required bool allowGoogleId,
  3. dynamic extra,
  4. int? clientId,
})

TDLib needs the user's email address to authorize. Call setAuthenticationEmailAddress to provide the email address, or directly call checkAuthenticationEmailCode with Apple authorizationStateWaitEmailAddress/Google authorizationStateWaitEmailAddress token if allowed

Implementation

const AuthorizationStateWaitEmailAddress({
  required this.allowAppleId,
  required this.allowGoogleId,
  this.extra,
  this.clientId,
});