MCPcopy Create free account
hub / github.com/slackapi/python-slack-sdk / conversations_archive

Method conversations_archive

slack_sdk/web/client.py:3162–3172  ·  view source on GitHub ↗

Archives a conversation. https://docs.slack.dev/reference/methods/conversations.archive

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

Source from the content-addressed store, hash-verified

3160 return self.api_call("conversations.approveSharedInvite", http_verb="POST", params=kwargs)
3161
3162 def conversations_archive(
3163 self,
3164 *,
3165 channel: str,
3166 **kwargs,
3167 ) -> SlackResponse:
3168 """Archives a conversation.
3169 https://docs.slack.dev/reference/methods/conversations.archive
3170 """
3171 kwargs.update({"channel": channel})
3172 return self.api_call("conversations.archive", params=kwargs)
3173
3174 def conversations_close(
3175 self,

Callers 4

test_issue_1053Method · 0.95
test_syncMethod · 0.45
test_asyncMethod · 0.45

Calls 1

api_callMethod · 0.45

Tested by 3

test_issue_1053Method · 0.76
test_syncMethod · 0.36
test_asyncMethod · 0.36