Slack.Web.Channels.leave
You're seeing just the function
leave
, go back to Slack.Web.Channels module for more information.
Leaves a channel.
Required Params
channel
- Channel to leave
Errors the API can return:
cant_leave_general
- Authenticated user cannot leave the general channelchannel_not_found
- Value passed forchannel
was invalid.is_archived
- Channel has been archived.