AuthorizationStateWaitEmailCode constructor

AuthorizationStateWaitEmailCode(
  1. {required bool allow_apple_id,
  2. required bool allow_google_id,
  3. required EmailAddressAuthenticationCodeInfo code_info,
  4. EmailAddressResetState? email_address_reset_state,
  5. int? 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

AuthorizationStateWaitEmailCode