Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods groups.archive.json
Raw

priv/docs/methods/groups.archive.json

{
"args": {
"channel": {
"desc": "Private channel to archive",
"required": true,
"type": "group"
}
},
"desc": "Archives a private channel.",
"errors": {
"already_archived": "Group has already been archived.",
"channel_not_found": "Value passed for `channel` was invalid.",
"group_contains_others": "Restricted accounts cannot archive groups containing others.",
"last_ra_channel": "You cannot archive the last channel for a restricted account.",
"restricted_action": "A team preference prevents the authenticated user from archiving."
}
}