Class: SlackBot::Events::Schemas::Type::ReactionModified

Inherits:
JsonSchematize::Generator
  • Object
show all
Defined in:
lib/slack_bot/events/schemas/type/reaction_modified.rb

Instance Method Summary collapse

Instance Method Details

#channelObject



22
23
24
# File 'lib/slack_bot/events/schemas/type/reaction_modified.rb', line 22

def channel
  item.channel
end

#message_tsObject



26
27
28
# File 'lib/slack_bot/events/schemas/type/reaction_modified.rb', line 26

def message_ts
  item.ts
end

#tldrObject



30
31
32
# File 'lib/slack_bot/events/schemas/type/reaction_modified.rb', line 30

def tldr
  "type:#{type}; user:#{item_user}; channel:#{channel}; reaction:#{reaction}"
end