Leaves a channel.
(
self,
*,
channel: str,
**kwargs,
)
| 2553 | return self.api_call("channels.kick", json=kwargs) |
| 2554 | |
| 2555 | def channels_leave( |
| 2556 | self, |
| 2557 | *, |
| 2558 | channel: str, |
| 2559 | **kwargs, |
| 2560 | ) -> SlackResponse: |
| 2561 | """Leaves a channel.""" |
| 2562 | kwargs.update({"channel": channel}) |
| 2563 | kwargs = _remove_none_values(kwargs) |
| 2564 | return self.api_call("channels.leave", json=kwargs) |
| 2565 | |
| 2566 | def channels_list( |
| 2567 | self, |
nothing calls this directly
no test coverage detected