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

Method conversations_canvases_create

slack_sdk/web/client.py:3598–3609  ·  view source on GitHub ↗

Create a Channel Canvas for a channel https://docs.slack.dev/reference/methods/conversations.canvases.create

(
        self,
        *,
        channel_id: str,
        document_content: Dict[str, str],
        **kwargs,
    )

Source from the content-addressed store, hash-verified

3596 return self.api_call("conversations.unarchive", params=kwargs)
3597
3598 def conversations_canvases_create(
3599 self,
3600 *,
3601 channel_id: str,
3602 document_content: Dict[str, str],
3603 **kwargs,
3604 ) -> SlackResponse:
3605 """Create a Channel Canvas for a channel
3606 https://docs.slack.dev/reference/methods/conversations.canvases.create
3607 """
3608 kwargs.update({"channel_id": channel_id, "document_content": document_content})
3609 return self.api_call("conversations.canvases.create", json=kwargs)
3610
3611 def dialog_open(
3612 self,

Callers 2

test_syncMethod · 0.45
test_asyncMethod · 0.45

Calls 1

api_callMethod · 0.45

Tested by 2

test_syncMethod · 0.36
test_asyncMethod · 0.36