Sha256: e61d0ef16e413de970ef4a793a41d83faa7a6fdc81aa005f0feef9cdf6807308

Contents?: true

Size: 296 Bytes

Versions: 8

Compression:

Stored size: 296 Bytes

Contents

class MessengerBotController < ActionController::Base
  def message(event, sender)
    # profile = sender.get_profile
    sender.reply({ text: "Reply: #{event['message']['text']}" })
  end

  def delivery(event, sender)
    #BlahBlah
  end

  def postback(event, sender)
    #BlahBlah
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
messenger-bot-1.0.3.2 example/messenger_bot_controller.rb
messenger-bot-1.0.3.1 example/messenger_bot_controller.rb
messenger-bot-1.0.3 example/messenger_bot_controller.rb
messenger-bot-1.0.2 example/messenger_bot_controller.rb
messenger-bot-1.0.0 example/messenger_bot_controller.rb
messenger-bot-0.1.9 example/messenger_bot_controller.rb
messenger-bot-0.1.8 example/messenger_bot_controller.rb
messenger-bot-0.1.7 example/messenger_bot_controller.rb