Class: TD::Types::AuthenticationCodeType::Call

Inherits:
TD::Types::AuthenticationCodeType show all
Defined in:
lib/tdlib/types/authentication_code_type/call.rb

Overview

An authentication code is delivered via a phone call to the specified phone number.

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



5
6
7
# File 'lib/tdlib/types/authentication_code_type/call.rb', line 5

def length
  @length
end