Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods reactions.remove.json
Raw

priv/docs/methods/reactions.remove.json

{
"args": {
"channel": {
"desc": "Channel where the message to remove reaction from was posted. One of `file`, `file_comment`, or the combination of `channel` and `timestamp` must be specified.",
"required": false,
"type": "string"
},
"file": {
"desc": "File to remove reaction from. One of `file`, `file_comment`, or the combination of `channel` and `timestamp` must be specified.",
"required": false,
"type": "string"
},
"file_comment": {
"desc": "File comment to remove reaction from. One of `file`, `file_comment`, or the combination of `channel` and `timestamp` must be specified.",
"required": false,
"type": "string"
},
"name": {
"desc": "Reaction (emoji) name.",
"example": "thumbsup",
"required": true,
"type": "string"
},
"timestamp": {
"desc": "Timestamp of the message to remove reaction from. One of `file`, `file_comment`, or the combination of `channel` and `timestamp` must be specified.",
"required": false,
"type": "string"
}
},
"desc": "Removes a reaction from an item.",
"errors": {
"bad_timestamp": "Value passed for `timestamp` was invalid.",
"channel_not_found": "The specified channel was not found.",
"external_channel_migrating": "The reaction is in a channel that is being migrated",
"file_comment_not_found": "File comment specified by `file_comment` does not exist.",
"file_not_found": "File specified by `file` does not exist.",
"invalid_name": "Value passed for `name` was invalid.",
"message_not_found": "Message specified by `channel` and `timestamp` does not exist.",
"no_access": "The requestor does not have permission to perform this action on the specified item.",
"no_item_specified": "`file`, `file_comment`, or combination of `channel` and `timestamp` was not specified.",
"no_reaction": "The specified reaction does not exist, or the requestor is not the original reaction author.",
"thread_locked": "Reactions are disabled as the specified message is part of a locked thread."
},
"rate_limit": {
"label": "Tier 2: 20+ 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"
}
]
}
}