Class: TD::Types::UserStatus::Offline

Inherits:
TD::Types::UserStatus show all
Defined in:
lib/tdlib/types/user_status/offline.rb

Overview

The user is offline.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#was_onlineInteger

Point in time (Unix timestamp) when the user was last online.

Returns:

  • (Integer)

    the current value of was_online



5
6
7
# File 'lib/tdlib/types/user_status/offline.rb', line 5

def was_online
  @was_online
end