Class: Fb::Messenger::Event::Postback

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

Overview

postback event

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

#payloadObject



6
7
8
# File 'lib/fb/messenger/events/postback.rb', line 6

def payload
  @event_data[:postback][:payload]
end