Class: TD::Types::AuthenticationCodeType::MissedCall
- Inherits:
-
TD::Types::AuthenticationCodeType
- Object
- Dry::Struct
- Base
- TD::Types::AuthenticationCodeType
- TD::Types::AuthenticationCodeType::MissedCall
- Defined in:
- lib/tdlib/types/authentication_code_type/missed_call.rb
Overview
An authentication code is delivered by an immediately canceled call to the specified phone number. The last digits of the phone number that calls are the code that must be entered manually by the user.
Instance Attribute Summary collapse
-
#length ⇒ Integer
Number of digits in the code, excluding the prefix.
-
#phone_number_prefix ⇒ TD::Types::String
Prefix of the phone number from which the call will be made.
Method Summary
Methods inherited from Base
Instance Attribute Details
#length ⇒ Integer
Number of digits in the code, excluding the prefix.
7 8 9 |
# File 'lib/tdlib/types/authentication_code_type/missed_call.rb', line 7 def length @length end |
#phone_number_prefix ⇒ TD::Types::String
Prefix of the phone number from which the call will be made.
7 8 9 |
# File 'lib/tdlib/types/authentication_code_type/missed_call.rb', line 7 def phone_number_prefix @phone_number_prefix end |