Class: TD::Types::UserStatus::Online

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

Overview

The user is online.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#expiresInteger

Point in time (Unix timestamp) when the user’s online status will expire.

Returns:

  • (Integer)

    the current value of expires



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

def expires
  @expires
end