Class: TD::Types::AuthenticationCodeInfo
- Defined in:
- lib/tdlib/types/authentication_code_info.rb
Overview
Information about the authentication code that was sent.
Instance Attribute Summary collapse
-
#next_type ⇒ TD::Types::AuthenticationCodeType?
Describes the way the next code will be sent to the user; may be null.
-
#phone_number ⇒ TD::Types::String
A phone number that is being authenticated.
-
#timeout ⇒ Integer
Timeout before the code should be re-sent, in seconds.
-
#type ⇒ TD::Types::AuthenticationCodeType
Describes the way the code was sent to the user.
Method Summary
Methods inherited from Base
Instance Attribute Details
#next_type ⇒ TD::Types::AuthenticationCodeType?
Describes the way the next code will be sent to the user; may be null.
9 10 11 |
# File 'lib/tdlib/types/authentication_code_info.rb', line 9 def next_type @next_type end |
#phone_number ⇒ TD::Types::String
A phone number that is being authenticated.
9 10 11 |
# File 'lib/tdlib/types/authentication_code_info.rb', line 9 def phone_number @phone_number end |
#timeout ⇒ Integer
Timeout before the code should be re-sent, in seconds.
9 10 11 |
# File 'lib/tdlib/types/authentication_code_info.rb', line 9 def timeout @timeout end |
#type ⇒ TD::Types::AuthenticationCodeType
Describes the way the code was sent to the user.
9 10 11 |
# File 'lib/tdlib/types/authentication_code_info.rb', line 9 def type @type end |