Class: TD::Types::Sessions
- Defined in:
- lib/tdlib/types/sessions.rb
Overview
Contains a list of sessions.
Instance Attribute Summary collapse
-
#inactive_session_ttl_days ⇒ Integer
Number of days of inactivity before sessions will automatically be terminated; 1-366 days.
-
#sessions ⇒ Array<TD::Types::Session>
List of sessions.
Method Summary
Methods inherited from Base
Instance Attribute Details
#inactive_session_ttl_days ⇒ Integer
Number of days of inactivity before sessions will automatically be terminated; 1-366 days.
7 8 9 |
# File 'lib/tdlib/types/sessions.rb', line 7 def inactive_session_ttl_days @inactive_session_ttl_days end |
#sessions ⇒ Array<TD::Types::Session>
List of sessions.
7 8 9 |
# File 'lib/tdlib/types/sessions.rb', line 7 def sessions @sessions end |