Class: TD::Types::UnconfirmedSession

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

Overview

Contains information about an unconfirmed session.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#device_modelTD::Types::String

Model of the device that was used for the session creation, as provided by the application.

Returns:

  • (TD::Types::String)

    the current value of device_model



10
11
12
# File 'lib/tdlib/types/unconfirmed_session.rb', line 10

def device_model
  @device_model
end

#idInteger

Session identifier.

Returns:

  • (Integer)

    the current value of id



10
11
12
# File 'lib/tdlib/types/unconfirmed_session.rb', line 10

def id
  @id
end

#locationTD::Types::String

A human-readable description of the location from which the session was created, based on the IP address.

Returns:

  • (TD::Types::String)

    the current value of location



10
11
12
# File 'lib/tdlib/types/unconfirmed_session.rb', line 10

def location
  @location
end

#log_in_dateInteger

Point in time (Unix timestamp) when the user has logged in.

Returns:

  • (Integer)

    the current value of log_in_date



10
11
12
# File 'lib/tdlib/types/unconfirmed_session.rb', line 10

def 
  @log_in_date
end