Class: Fb::Messenger::Event::Message

Inherits:
Base
  • Object
show all
Defined in:
lib/fb/messenger/events/message.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #recipient_id, #sender_id, #timestamp

Constructor Details

This class inherits a constructor from Fb::Messenger::Event::Base

Instance Method Details

#midObject



9
10
11
# File 'lib/fb/messenger/events/message.rb', line 9

def mid
  @event_data[:message][:mid]
end

#seqObject



13
14
15
# File 'lib/fb/messenger/events/message.rb', line 13

def seq
  @event_data[:message][:seq]
end

#textObject



5
6
7
# File 'lib/fb/messenger/events/message.rb', line 5

def text
  @event_data[:message][:text]
end