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