Class: Senrigan::Entities::Message

Inherits:
Base
  • Object
show all
Defined in:
lib/senrigan/entities/message.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Senrigan::Entities::Base

Instance Attribute Details

#attachmentsObject



9
10
11
# File 'lib/senrigan/entities/message.rb', line 9

def attachments
  @attachments ||= []
end

#channelObject

Returns the value of attribute channel.



6
7
8
# File 'lib/senrigan/entities/message.rb', line 6

def channel
  @channel
end

#contentObject

Returns the value of attribute content.



6
7
8
# File 'lib/senrigan/entities/message.rb', line 6

def content
  @content
end

#parentObject

Returns the value of attribute parent.



6
7
8
# File 'lib/senrigan/entities/message.rb', line 6

def parent
  @parent
end

#tsObject

Returns the value of attribute ts.



6
7
8
# File 'lib/senrigan/entities/message.rb', line 6

def ts
  @ts
end

#userObject

Returns the value of attribute user.



6
7
8
# File 'lib/senrigan/entities/message.rb', line 6

def user
  @user
end