Slack.Web.Groups.create_child
You're seeing just the function
create_child
, go back to Slack.Web.Groups module for more information.
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 clonedchannel_not_found
- Value passed forchannel
was invalid.restricted_action
- A team preference prevents the authenticated user from creating groups.