Slack.Web.Groups.create
You're seeing just the function
create, go back to Slack.Web.Groups module for more information.
Creates a private channel.
Required Params
name- Name of private channel to create
Errors the API can return:
name_taken- A group cannot be created with the given name.no_channel- No group name was passed.restricted_action- A team preference prevents the authenticated user from creating groups.