MCPcopy Index your code
hub / github.com/slackapi/python-slack-sdk / conversations_leave

Method conversations_leave

slack_sdk/web/client.py:3348–3358  ·  view source on GitHub ↗

Leaves a conversation. https://docs.slack.dev/reference/methods/conversations.leave

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

Source from the content-addressed store, hash-verified

3346 return self.api_call("conversations.kick", params=kwargs)
3347
3348 def conversations_leave(
3349 self,
3350 *,
3351 channel: str,
3352 **kwargs,
3353 ) -> SlackResponse:
3354 """Leaves a conversation.
3355 https://docs.slack.dev/reference/methods/conversations.leave
3356 """
3357 kwargs.update({"channel": channel})
3358 return self.api_call("conversations.leave", params=kwargs)
3359
3360 def conversations_list(
3361 self,

Callers 1

channels.pyFile · 0.45

Calls 1

api_callMethod · 0.45

Tested by

no test coverage detected