Class: MTProto::TL::Dialogs::Dialog

Inherits:
Struct
  • Object
show all
Defined in:
lib/mtproto/tl/objects/dialogs.rb

Instance Attribute Summary collapse

Instance Attribute Details

#peer_idObject

Returns the value of attribute peer_id

Returns:

  • (Object)

    the current value of peer_id



8
9
10
# File 'lib/mtproto/tl/objects/dialogs.rb', line 8

def peer_id
  @peer_id
end

#peer_typeObject

Returns the value of attribute peer_type

Returns:

  • (Object)

    the current value of peer_type



8
9
10
# File 'lib/mtproto/tl/objects/dialogs.rb', line 8

def peer_type
  @peer_type
end

#ptsObject

Returns the value of attribute pts

Returns:

  • (Object)

    the current value of pts



8
9
10
# File 'lib/mtproto/tl/objects/dialogs.rb', line 8

def pts
  @pts
end

#top_messageObject

Returns the value of attribute top_message

Returns:

  • (Object)

    the current value of top_message



8
9
10
# File 'lib/mtproto/tl/objects/dialogs.rb', line 8

def top_message
  @top_message
end

#unread_countObject

Returns the value of attribute unread_count

Returns:

  • (Object)

    the current value of unread_count



8
9
10
# File 'lib/mtproto/tl/objects/dialogs.rb', line 8

def unread_count
  @unread_count
end