Class: TD::Types::AuthorizationState::WaitEmailCode
- Inherits:
-
TD::Types::AuthorizationState
- Object
- Dry::Struct
- Base
- TD::Types::AuthorizationState
- TD::Types::AuthorizationState::WaitEmailCode
- 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
-
#allow_apple_id ⇒ Boolean
True, if authorization through Apple ID is allowed.
-
#allow_google_id ⇒ Boolean
True, if authorization through Google ID is allowed.
-
#code_info ⇒ TD::Types::EmailAddressAuthenticationCodeInfo
Information about the sent authentication code.
-
#email_address_reset_state ⇒ TD::Types::EmailAddressResetState?
Reset state of the email address; may be null if the email address can’t be reset.
Method Summary
Methods inherited from Base
Instance Attribute Details
#allow_apple_id ⇒ Boolean
True, if authorization through Apple ID is allowed.
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_id ⇒ Boolean
True, if authorization through Google ID is allowed.
10 11 12 |
# File 'lib/tdlib/types/authorization_state/wait_email_code.rb', line 10 def allow_google_id @allow_google_id end |
#code_info ⇒ TD::Types::EmailAddressAuthenticationCodeInfo
Information about the sent authentication code.
10 11 12 |
# File 'lib/tdlib/types/authorization_state/wait_email_code.rb', line 10 def code_info @code_info end |
#email_address_reset_state ⇒ TD::Types::EmailAddressResetState?
Reset state of the email address; may be null if the email address can’t be reset.
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 |