Archives a channel.
(
self,
*,
channel: str,
**kwargs,
)
| 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, |
nothing calls this directly
no test coverage detected