Skip to main content
slack.leavePublicChannel removes the installed bot from a public channel.

Example

automations/leave-public-channel.automation.ts

Inputs

Requires the stable public channelId.

Output

Completes without a value. Requires the bot scope channels:manage.