Class: TD::Types::AuthenticationCodeType::TelegramMessage

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

Overview

An authentication code is delivered via a private Telegram message, which can be viewed from another active

session.

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/telegram_message.rb', line 6

def length
  @length
end