Class: TD::Types::AuthorizationState::WaitEmailCode

Inherits:
TD::Types::AuthorizationState show all
Defined in:
lib/tdlib/types/authorization_state/wait_email_code.rb

Overview

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#allow_apple_idBoolean

True, if authorization through Apple ID is allowed.

Returns:

  • (Boolean)

    the current value of allow_apple_id



10
11
12
# File 'lib/tdlib/types/authorization_state/wait_email_code.rb', line 10

def allow_apple_id
  @allow_apple_id
end

#allow_google_idBoolean

True, if authorization through Google ID is allowed.

Returns:

  • (Boolean)

    the current value of allow_google_id



10
11
12
# File 'lib/tdlib/types/authorization_state/wait_email_code.rb', line 10

def allow_google_id
  @allow_google_id
end

#code_infoTD::Types::EmailAddressAuthenticationCodeInfo

Information about the sent authentication code.

Returns:



10
11
12
# File 'lib/tdlib/types/authorization_state/wait_email_code.rb', line 10

def code_info
  @code_info
end

#email_address_reset_stateTD::Types::EmailAddressResetState?

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

Returns:



10
11
12
# File 'lib/tdlib/types/authorization_state/wait_email_code.rb', line 10

def email_address_reset_state
  @email_address_reset_state
end