Class: TD::Types::AuthenticationCodeType::Sms

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

Overview

A digit-only authentication code is delivered via an SMS message to the specified phone number; non-official

applications may not receive this type of code.

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



6
7
8
# File 'lib/tdlib/types/authentication_code_type/sms.rb', line 6

def length
  @length
end