Renames a channel.
(
self,
*,
channel: str,
name: str,
**kwargs,
)
| 2583 | return self.api_call("channels.mark", json=kwargs) |
| 2584 | |
| 2585 | def channels_rename( |
| 2586 | self, |
| 2587 | *, |
| 2588 | channel: str, |
| 2589 | name: str, |
| 2590 | **kwargs, |
| 2591 | ) -> SlackResponse: |
| 2592 | """Renames a channel.""" |
| 2593 | kwargs.update({"channel": channel, "name": name}) |
| 2594 | kwargs = _remove_none_values(kwargs) |
| 2595 | return self.api_call("channels.rename", json=kwargs) |
| 2596 | |
| 2597 | def channels_replies( |
| 2598 | self, |
nothing calls this directly
no test coverage detected