lib/slack/web/api/endpoints/reactions.rb in slack-ruby-client-0.13.1 vs lib/slack/web/api/endpoints/reactions.rb in slack-ruby-client-0.14.0
- old
+ new
@@ -11,12 +11,12 @@
# @option options [Object] :name
# Reaction (emoji) name.
# @option options [channel] :channel
# Channel where the message to add reaction to was posted.
# @option options [file] :file
- # File to add reaction to.
+ # File to add reaction to. Now that file threads work the way you'd expect, this argument is deprecated. Specify the timestamp and channel of the message associated with a file instead.
# @option options [Object] :file_comment
- # File comment to add reaction to.
+ # File comment to add reaction to. Now that file threads work the way you'd expect, this argument is deprecated. Specify the timestamp and channel of the message associated with a file instead.
# @option options [Object] :timestamp
# Timestamp of the message to add reaction to.
# @see https://api.slack.com/methods/reactions.add
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/reactions/reactions.add.json
def reactions_add(options = {})