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