Slack.Web.Channels.create

You're seeing just the function create, go back to Slack.Web.Channels module for more information.
Link to this function

create(name, optional_params \\ %{})

View Source

Creates a channel.

Required Params

  • name - Name of channel to create ex: mychannel

Errors the API can return:

  • name_taken - A channel cannot be created with the given name.
  • no_channel - Value passed for name was empty.
  • restricted_action - A team preference prevents the authenticated user from creating channels.