Slack.Web.Groups.leave
You're seeing just the function
leave
, go back to Slack.Web.Groups module for more information.
Leaves a private channel.
Required Params
channel
- Private channel to leave
Errors the API can return:
cant_leave_last_channel
- Authenticated user cannot leave the last channel they are inchannel_not_found
- Value passed forchannel
was invalid.is_archived
- Group has been archived.last_member
- Authenticated user is the last member of a group and cannot leave it