Sets the topic for a channel.
(
self,
*,
channel: str,
topic: str,
**kwargs,
)
| 2618 | return self.api_call("channels.setPurpose", json=kwargs) |
| 2619 | |
| 2620 | def channels_setTopic( |
| 2621 | self, |
| 2622 | *, |
| 2623 | channel: str, |
| 2624 | topic: str, |
| 2625 | **kwargs, |
| 2626 | ) -> SlackResponse: |
| 2627 | """Sets the topic for a channel.""" |
| 2628 | kwargs.update({"channel": channel, "topic": topic}) |
| 2629 | kwargs = _remove_none_values(kwargs) |
| 2630 | return self.api_call("channels.setTopic", json=kwargs) |
| 2631 | |
| 2632 | def channels_unarchive( |
| 2633 | self, |
nothing calls this directly
no test coverage detected