Class: TD::Types::Update::UserStatus

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/user_status.rb

Overview

The user went online or offline.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#statusTD::Types::UserStatus

New status of the user.

Returns:



6
7
8
# File 'lib/tdlib/types/update/user_status.rb', line 6

def status
  @status
end

#user_idInteger

User identifier.

Returns:

  • (Integer)

    the current value of user_id



6
7
8
# File 'lib/tdlib/types/update/user_status.rb', line 6

def user_id
  @user_id
end