Class: TD::Types::MessageViewer

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

Overview

Represents a viewer of a message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#user_idInteger

User identifier of the viewer.

Returns:

  • (Integer)

    the current value of user_id



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

def user_id
  @user_id
end

#view_dateInteger

Approximate point in time (Unix timestamp) when the message was viewed.

Returns:

  • (Integer)

    the current value of view_date



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

def view_date
  @view_date
end