Share a canvas in thread
Schema.slack.functions.ShareCanvasInThread
slack#/functions/share_canvas_in_thread
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,
},
},
const shareCanvasStep = ExampleWorkflow.addStep(
Schema.slack.functions.ShareCanvasInThread,
{
canvas_id: "CAN123456",
access_level: "edit",
message_context: inputs.messageContext,
message: { inputs.message }
},
);