{
"desc": "Adds a reaction to an item.",
"args": {
"name": {
"required" : true,
"example" : "thumbsup",
"desc" : "Reaction (emoji) name."
},
"file": {
"type" : "file",
"required" : false,
"desc" : "File to add reaction to."
},
"file_comment": {
"type" : "file_comment",
"required" : false,
"desc" : "File comment to add reaction to."
},
"channel": {
"required" : false,
"type" : "channel",
"desc" : "Channel where the message to add reaction to was posted."
},
"timestamp": {
"required" : false,
"type" : "timestamp",
"desc" : "Timestamp of the message to add reaction to."
}
},
"errors": {
"bad_timestamp" : "Value passed for `timestamp` was invalid.",
"file_not_found" : "File specified by `file` does not exist.",
"file_comment_not_found" : "File comment specified by `file_comment` does not exist.",
"message_not_found" : "Message specified by `channel` and `timestamp` does not exist.",
"no_item_specified" : "`file`, `file_comment`, or combination of `channel` and `timestamp` was not specified.",
"invalid_name" : "Value passed for `name` was invalid.",
"already_reacted" : "The specified item already has the user/reaction combination.",
"too_many_emoji" : "The limit for distinct reactions (i.e emoji) on the item has been reached.",
"too_many_reactions" : "The limit for reactions a person may add to the item has been reached."
}
}