Class: TD::Types::PasswordState
- Defined in:
- lib/tdlib/types/password_state.rb
Overview
Represents the current state of 2-step verification.
Instance Attribute Summary collapse
-
#has_passport_data ⇒ Boolean
True, if some Telegram Passport elements were saved.
-
#has_password ⇒ Boolean
True, if a 2-step verification password is set.
-
#has_recovery_email_address ⇒ Boolean
True, if a recovery email is set.
-
#password_hint ⇒ TD::Types::String?
Hint for the password; may be empty.
-
#recovery_email_address_code_info ⇒ TD::Types::EmailAddressAuthenticationCodeInfo?
Information about the recovery email address to which the confirmation email was sent; may be null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#has_passport_data ⇒ Boolean
True, if some Telegram Passport elements were saved.
10 11 12 |
# File 'lib/tdlib/types/password_state.rb', line 10 def has_passport_data @has_passport_data end |
#has_password ⇒ Boolean
True, if a 2-step verification password is set.
10 11 12 |
# File 'lib/tdlib/types/password_state.rb', line 10 def has_password @has_password end |
#has_recovery_email_address ⇒ Boolean
True, if a recovery email is set.
10 11 12 |
# File 'lib/tdlib/types/password_state.rb', line 10 def has_recovery_email_address @has_recovery_email_address end |
#password_hint ⇒ TD::Types::String?
Hint for the password; may be empty.
10 11 12 |
# File 'lib/tdlib/types/password_state.rb', line 10 def password_hint @password_hint end |
#recovery_email_address_code_info ⇒ TD::Types::EmailAddressAuthenticationCodeInfo?
Information about the recovery email address to which the confirmation email was sent; may be null.
10 11 12 |
# File 'lib/tdlib/types/password_state.rb', line 10 def recovery_email_address_code_info @recovery_email_address_code_info end |