Class: TD::Types::AuthorizationState::WaitPassword

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

Overview

The user has been authorized, but needs to enter a password to start using the application.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#has_recovery_email_addressBoolean

True, if a recovery email address has been set up.

Returns:

  • (Boolean)

    the current value of has_recovery_email_address



8
9
10
# File 'lib/tdlib/types/authorization_state/wait_password.rb', line 8

def has_recovery_email_address
  @has_recovery_email_address
end

#password_hintTD::Types::String?

Hint for the password; may be empty.

Returns:

  • (TD::Types::String, nil)

    the current value of password_hint



8
9
10
# File 'lib/tdlib/types/authorization_state/wait_password.rb', line 8

def password_hint
  @password_hint
end

#recovery_email_address_patternTD::Types::String?

Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent.

Returns:

  • (TD::Types::String, nil)

    the current value of recovery_email_address_pattern



8
9
10
# File 'lib/tdlib/types/authorization_state/wait_password.rb', line 8

def recovery_email_address_pattern
  @recovery_email_address_pattern
end