Class: TD::Types::AuthenticationCodeInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/authentication_code_info.rb

Overview

Information about the authentication code that was sent.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#next_typeTD::Types::AuthenticationCodeType?

Describes the way the next code will be sent to the user; may be null.

Returns:



9
10
11
# File 'lib/tdlib/types/authentication_code_info.rb', line 9

def next_type
  @next_type
end

#phone_numberString

A phone number that is being authenticated.

Returns:

  • (String)

    the current value of phone_number



9
10
11
# File 'lib/tdlib/types/authentication_code_info.rb', line 9

def phone_number
  @phone_number
end

#timeoutInteger

Timeout before the code should be re-sent, in seconds.

Returns:

  • (Integer)

    the current value of timeout



9
10
11
# File 'lib/tdlib/types/authentication_code_info.rb', line 9

def timeout
  @timeout
end

#typeTD::Types::AuthenticationCodeType

Describes the way the code was sent to the user.

Returns:



9
10
11
# File 'lib/tdlib/types/authentication_code_info.rb', line 9

def type
  @type
end