Current section
Files
Jump to
Current section
Files
priv/docs/methods/reactions.add.json
{
"args": {
"channel": {
"desc": "Channel where the message to add reaction to was posted. Specify only `channel` and `timestamp` instead.",
"required": true,
"type": "string"
},
"name": {
"desc": "Reaction (emoji) name",
"example": "thumbsup",
"required": true,
"type": "string"
},
"timestamp": {
"desc": "Timestamp of the message to add reaction to. Specify only `channel` and `timestamp` instead.",
"required": true,
"type": "string"
}
},
"desc": "Adds a reaction to an item.",
"errors": {
"already_reacted": "The specified item already has the user/reaction combination.",
"bad_timestamp": "Value passed for `timestamp` was invalid.",
"channel_not_found": "Value passed for `channel` is invalid.",
"external_channel_migrating": "The channel is in the process of being migrated.",
"invalid_name": "Value passed for `name` was invalid.",
"is_archived": "Channel specified has been archived.",
"message_not_found": "Message specified by `channel` and `timestamp` does not exist.",
"no_access": "User does not have access to react to this canvas.",
"no_item_specified": "combination of `channel` and `timestamp` was not specified.",
"not_reactable": "Whatever you passed in, like a `file` or `file_comment`, can't be reacted to anymore. Your app can react to messages though.",
"thread_locked": "Reactions are disabled as the specified message is part of a locked thread.",
"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."
},
"rate_limit": {
"label": "Tier 3: 50+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"bot": [
{
"name": "reactions:write",
"url": "https://docs.slack.dev/reference/scopes/reactions.write"
}
],
"user": [
{
"name": "reactions:write",
"url": "https://docs.slack.dev/reference/scopes/reactions.write"
}
]
}
}