Class: TD::Types::AuthenticationCodeType::SmsPhrase

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

Overview

An authentication code is a phrase from multiple words 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

#first_wordTD::Types::String

The first word of the phrase if known.

Returns:

  • (TD::Types::String)

    the current value of first_word



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

def first_word
  @first_word
end