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

Method conversations_create

slack_sdk/web/client.py:3186–3198  ·  view source on GitHub ↗

Initiates a public or private channel-based conversation https://docs.slack.dev/reference/methods/conversations.create

(
        self,
        *,
        name: str,
        is_private: Optional[bool] = None,
        team_id: Optional[str] = None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

3184 return self.api_call("conversations.close", params=kwargs)
3185
3186 def conversations_create(
3187 self,
3188 *,
3189 name: str,
3190 is_private: Optional[bool] = None,
3191 team_id: Optional[str] = None,
3192 **kwargs,
3193 ) -> SlackResponse:
3194 """Initiates a public or private channel-based conversation
3195 https://docs.slack.dev/reference/methods/conversations.create
3196 """
3197 kwargs.update({"name": name, "is_private": is_private, "team_id": team_id})
3198 return self.api_call("conversations.create", params=kwargs)
3199
3200 def conversations_declineSharedInvite(
3201 self,

Callers 7

test_issue_1053Method · 0.95
setUpMethod · 0.95
test_syncMethod · 0.45
test_asyncMethod · 0.45
test_syncMethod · 0.45
test_asyncMethod · 0.45

Calls 1

api_callMethod · 0.45

Tested by 6

test_issue_1053Method · 0.76
setUpMethod · 0.76
test_syncMethod · 0.36
test_asyncMethod · 0.36
test_syncMethod · 0.36
test_asyncMethod · 0.36