MCPcopy
hub / github.com/slackapi/python-slack-sdk / channels_archive

Method channels_archive

slack_sdk/web/client.py:2478–2487  ·  view source on GitHub ↗

Archives a channel.

(
        self,
        *,
        channel: str,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

2476 # --------------------------
2477
2478 def channels_archive(
2479 self,
2480 *,
2481 channel: str,
2482 **kwargs,
2483 ) -> SlackResponse:
2484 """Archives a channel."""
2485 kwargs.update({"channel": channel})
2486 kwargs = _remove_none_values(kwargs)
2487 return self.api_call("channels.archive", json=kwargs)
2488
2489 def channels_create(
2490 self,

Callers

nothing calls this directly

Calls 2

_remove_none_valuesFunction · 0.85
api_callMethod · 0.45

Tested by

no test coverage detected