Class: TD::Types::AuthenticationCodeType::Fragment

Inherits:
TD::Types::AuthenticationCodeType show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#lengthInteger

Length of the code.

Returns:

  • (Integer)

    the current value of length



7
8
9
# File 'lib/tdlib/types/authentication_code_type/fragment.rb', line 7

def length
  @length
end

#urlTD::Types::String

URL to open to receive the code.

Returns:

  • (TD::Types::String)

    the current value of url



7
8
9
# File 'lib/tdlib/types/authentication_code_type/fragment.rb', line 7

def url
  @url
end