Class: MTProto::TL::Messages::Message

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

Instance Attribute Summary collapse

Instance Attribute Details

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



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

def date
  @date
end

#from_idObject

Returns the value of attribute from_id

Returns:

  • (Object)

    the current value of from_id



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

def from_id
  @from_id
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



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

def id
  @id
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



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

def text
  @text
end