Skip to main content

share_canvas_in_thread

Facts

Description
Schema
Schema reference
Required scopes
No additional scopes required

Input Parameters

Output Parameters

Usage info

This function allows you to share a canvas in a thread.

The app using this function will need the following App Home features set in the app manifest file:

features: {
appHome: {
messagesTabEnabled: true,
messagesTabReadOnlyEnabled: false,
},
},

Example workflow step:

const shareCanvasStep = ExampleWorkflow.addStep(
Schema.slack.functions.ShareCanvasInThread,
{
canvas_id: "CAN123456",
access_level: "edit",
message_context: inputs.messageContext,
message: { inputs.message }
},
);