Class: TD::Types::TemporaryPasswordState
- Defined in:
- lib/tdlib/types/temporary_password_state.rb
Overview
Returns information about the availability of a temporary password, which can be used for payments.
Instance Attribute Summary collapse
-
#has_password ⇒ Boolean
True, if a temporary password is available.
-
#valid_for ⇒ Integer
Time left before the temporary password expires, in seconds.
Method Summary
Methods inherited from Base
Instance Attribute Details
#has_password ⇒ Boolean
True, if a temporary password is available.
6 7 8 |
# File 'lib/tdlib/types/temporary_password_state.rb', line 6 def has_password @has_password end |
#valid_for ⇒ Integer
Time left before the temporary password expires, in seconds.
6 7 8 |
# File 'lib/tdlib/types/temporary_password_state.rb', line 6 def valid_for @valid_for end |