Skip to content

AuthorizationStateWaitEmailCode

Type · TDLib 1.8.67 · d1085f9c

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

AuthorizationStateWaitEmailCode(
  allow_apple_id: Bool,
  allow_google_id: Bool,
  code_info: EmailAddressAuthenticationCodeInfo,
  email_address_reset_state: EmailAddressResetState
) → AuthorizationState

allow_apple_id

Bool

True, if authorization through Apple ID is allowed

allow_google_id

Bool

True, if authorization through Google ID is allowed

code_info

EmailAddressAuthenticationCodeInfo

Information about the sent authentication code

email_address_reset_state

EmailAddressResetState

Reset state of the email address; may be null if the email address can't be reset