Sha256: 39dbfde5ccf5b06476a53b804ad10a9e75c725d33108eed5757f86ec5cc6e7cf
Contents?: true
Size: 308 Bytes
Versions: 3
Compression:
Stored size: 308 Bytes
Contents
class MessengerBotController < ActionController::Base Messenger::Bot.on("message") do |event, sender| sender.reply({ text: "Reply: #{event['message']['text']}" }) end Messenger::Bot.on("delivery") do |event, sender| end Messenger::Bot.on("postback") do |event, sender| #BlahBlah end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
messenger-bot-0.1.6 | example/messenger_bot_controller.rb |
messenger-bot-0.1.5 | example/messenger_bot_controller.rb |
messenger-bot-0.1.4 | example/messenger_bot_controller.rb |