Class: TD::Types::Sessions

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

Overview

Contains a list of sessions.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#inactive_session_ttl_daysInteger

Number of days of inactivity before sessions will automatically be terminated; 1-366 days.

Returns:

  • (Integer)

    the current value of inactive_session_ttl_days



7
8
9
# File 'lib/tdlib/types/sessions.rb', line 7

def inactive_session_ttl_days
  @inactive_session_ttl_days
end

#sessionsArray<TD::Types::Session>

List of sessions.

Returns:



7
8
9
# File 'lib/tdlib/types/sessions.rb', line 7

def sessions
  @sessions
end