SlackWeb.Groups.create_child

You're seeing just the function create_child, go back to SlackWeb.Groups module for more information.
Link to this function

create_child(channel, optional_params \\ %{})

View Source

Clones and archives a private channel.

Required Params

  • channel - Private channel to clone and archive.

Errors the API can return:

  • already_archived - An archived group cannot be cloned
  • channel_not_found - Value passed for channel was invalid.
  • restricted_action - A team preference prevents the authenticated user from creating groups.