Skip to main content

lib/slack/web/docs/reactions.remove.json

{
	"desc": "Removes a reaction from an item.",

	"args": {
		"name": {
			"required"	: true,
			"example"	: "thumbsup",
			"desc"		: "Reaction (emoji) name."
		},

		"file": {
			"type"		: "file",
			"required"	: false,
			"desc"		: "File to remove reaction from."
		},

		"file_comment": {
			"type"		: "file_comment",
			"required"	: false,
			"desc"		: "File comment to remove reaction from."
		},

		"channel": {
			"required"	: false,
			"type"		: "channel",
			"desc"		: "Channel where the message to remove reaction from was posted."
		},

		"timestamp": {
			"required"	: false,
			"type"		: "timestamp",
			"desc"		: "Timestamp of the message to remove reaction from."
		}
	},

	"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.",
		"no_reaction"			: "The specified item does not have the user/reaction combination."
	}
}