archive_channel
Facts
Description
Schema
Schema reference
Required scopes
No additional scopes required
Input Parameters
Output Parameters
Usage info
Not all conversations need to continue forever, so when the project is done, this function archives the channel, preventing new messages from being posted while preserving its history.
Example workflow step
const archiveChannelStep = ExampleWorkflow.addStep(
Schema.slack.functions.ArchiveChannel,
{
channel_id: "C0123ABC456",
},
);