module Ruboty::SlackRTM::Message

Public Instance Methods

add_reaction(reaction) click to toggle source
# File lib/ruboty/slack_rtm/message.rb, line 6
def add_reaction(reaction)
  channel_id = @original[:channel]["id"]
  timestamp  = @original[:time].to_f
  robot.add_reaction(reaction, channel_id, timestamp)
end