Class: TD::Types::AuthenticationCodeType::Fragment
- Inherits:
-
TD::Types::AuthenticationCodeType
- Object
- Dry::Struct
- Base
- TD::Types::AuthenticationCodeType
- TD::Types::AuthenticationCodeType::Fragment
- Defined in:
- lib/tdlib/types/authentication_code_type/fragment.rb
Overview
A digit-only authentication code is delivered to fragment.com. The user must be logged in there via a wallet owning the phone number’s NFT.
Instance Attribute Summary collapse
-
#length ⇒ Integer
Length of the code.
-
#url ⇒ TD::Types::String
URL to open to receive the code.
Method Summary
Methods inherited from Base
Instance Attribute Details
#length ⇒ Integer
Length of the code.
7 8 9 |
# File 'lib/tdlib/types/authentication_code_type/fragment.rb', line 7 def length @length end |
#url ⇒ TD::Types::String
URL to open to receive the code.
7 8 9 |
# File 'lib/tdlib/types/authentication_code_type/fragment.rb', line 7 def url @url end |