Class: HipTail::Event::RoomMessage

Inherits:
RoomMessaging show all
Defined in:
lib/hiptail/event.rb

Instance Attribute Summary collapse

Attributes inherited from RoomMessaging

#room

Attributes inherited from HipTail::Event

#authority, #oauth_client_id, #raw, #type, #webhook_id

Method Summary

Methods inherited from HipTail::Event

#initialize, parse

Constructor Details

This class inherits a constructor from HipTail::Event

Instance Attribute Details

#messageHipTail::Messsage::Talk (readonly)

Returns:

  • (HipTail::Messsage::Talk)


74
75
76
77
# File 'lib/hiptail/event.rb', line 74

def message
  @message ||= Message::Talk.new(@raw['item']['message'])
  @message
end