Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

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

priv/docs/methods/stars.remove.json

{
"args": {
"channel": {
"desc": "Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`). One of `file`, `file_comment`, `channel`, or the combination of `channel` and `timestamp` must be specified.",
"required": false,
"type": "string"
},
"file": {
"desc": "File to remove star from. One of `file`, `file_comment`, `channel`, or the combination of `channel` and `timestamp` must be specified.",
"required": false,
"type": "string"
},
"file_comment": {
"desc": "File comment to remove star from. One of `file`, `file_comment`, `channel`, or the combination of `channel` and `timestamp` must be specified.",
"required": false,
"type": "string"
},
"timestamp": {
"desc": "Timestamp of the message to remove star from. One of `file`, `file_comment`, `channel`, or the combination of `channel` and `timestamp` must be specified.",
"required": false,
"type": "string"
}
},
"desc": "Removes a saved item (star) from an item.",
"errors": {
"bad_timestamp": "Value passed for `timestamp` was invalid.",
"channel_not_found": "Channel, private group, or DM specified by `channel` does not exist",
"file_comment_not_found": "File comment specified by `file_comment` does not exist.",
"file_not_found": "File specified by `file` does not exist.",
"message_not_found": "Message specified by `channel` and `timestamp` does not exist.",
"no_item_specified": "`file`, `file_comment`, `channel` and `timestamp` was not specified.",
"not_starred": "The specified item is not currently starred by the authenticated user."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "stars:write",
"url": "https://docs.slack.dev/reference/scopes/stars.write"
}
]
}
}